我試圖安裝道崎這樣GOPATH和GOROOT的值應該是什麼?
$ goinstall github.com/ha/doozer
我得到這些錯誤。
goinstall: os: go/build: package could not be found locally
goinstall: fmt: go/build: package could not be found locally
goinstall: io: go/build: package could not be found locally
goinstall: reflect: go/build: package could not be found locally
goinstall: math: go/build: package could not be found locally
goinstall: rand: go/build: package could not be found locally
goinstall: url: go/build: package could not be found locally
goinstall: net: go/build: package could not be found locally
goinstall: sync: go/build: package could not be found locally
goinstall: runtime: go/build: package could not be found locally
goinstall: strings: go/build: package could not be found locally
goinstall: sort: go/build: package could not be found locally
goinstall: strconv: go/build: package could not be found locally
goinstall: bytes: go/build: package could not be found locally
goinstall: log: go/build: package could not be found locally
goinstall: encoding/binary: go/build: package could not be found locally
的設置不再有效 –
文件變得過時的項目。在這裏找到與OSX相關的相關問題:https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/841 – Motin
注意:默認情況下,'GOPATH'將被設置爲你在Go 1.8(2017)。見[我的回答如下](http://stackoverflow.com/a/40238276/6309) – VonC