我有以下文件結(jié)構(gòu):.├── bin│ └── hello├── pkg└── src └── jacob.uk.com ├── greeting │ └── greeting.go └── helloworld.go5 directories, 3 files使用以下 GOPATH/Users/clarkj84/Desktop/LearningGo在文件夾/usr/local/go/bin/go install jacob.uk.com內(nèi)執(zhí)行后src,我收到錯誤local import "./greeting" in non-local packagehelloworld.go:package main;import "./greeting"func main() {}
- 3 回答
- 0 關(guān)注
- 162 瀏覽
添加回答
舉報
0/150
提交
取消