$gopath not set的解決辦法
阿新 • • 發佈:2019-01-25
執行安裝
sudo go get github.com/nsf/gocode
提示:
cannot download, $GOPATH not set. For more details see: go help gopath
解決方案:
export GOPATH=/home/zhangbl/gocode
執行安裝
sudo go get github.com/nsf/gocode
提示:
cannot download, $GOPATH not set. For more details see: go help gopath
解決方案:
export GOPATH=/home/zhangbl/gocode