パッケージをインポートするにはどうしたらいいですか?Goでローカルパッケージをインポートするには?
&NBSP&nbspmain.go
&MyProjectとNBSP&nbspRepository
&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP DBHelper.go
&NBSP&nbspConfiguration
&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP&NBSP Configuration.go
DBHelper.go内の関数をConfiguration.goから呼び出す必要があります。どうすればいいですか?
I need to call Select function from Configuration.go ありがとうございます!よろしく!
<name of project folder>/Repository/helpers
ここ:
I Call Select but not working(undefined: DBHelper.Select in DBHelper)
インポートパスは、 '$ GOPATH/src /'を基準にしたディレクトリによって定義されます。 [「Go Codeを書く方法」](https://golang.org/doc/code.html)をお読みください。パッケージがどのように機能するかを説明します。 – JimB