I'm using struct from subpackage and it works. But on find usage of this structure IDEA doesn't see usages. The same situation on rename for the structure - IDEA renames the original structure and doesn't rename it in all places of usage. How can I fix it, because I don't want to put all go files only in one package.
1条回答 默认 最新
duanpacan2583 2018-03-24 13:58关注go project directory like this.
projectname: bin/ src/ structs/ custom_types.go main.go pkg/Use go build command will auto create bin/pkg directory. src directory contains all go source files.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
