當試圖運行godep save,我總是收到以下錯誤: godep: [WARNING]: godep should only be used inside a valid go package directory and
godep: [WARNING]: may not function correctly. You are probably outside of your $GOPATH.
我是Go的新手,我一直在本地開發Go項目。我在本地系統中安裝Godep由: go get github.com/tools/godep
,然後安裝塞式依賴 go get -u github.com/aerospike/aerospike-client-go
然而$GOPATH/bin/godep save ./...給了我以下錯誤: - godep: [WARNING]: godep sh
我嘗試使用不同的依賴關係管理工具:godep和dep。 而且兩者都會出現類似的錯誤。我應該如何設置環境,我應該在哪裏放置消息來源? DEP PS D:\Work\Golang\src\ChrBack> dep init
root project import: D:\Work\Golang\src\ChrBack is not within any GOPATH/src
godep PS D