$gopath not set的解决办法

执行安装git

sudo go get github.com/nsf/gocodegithub

提示:code

cannot download, $GOPATH not set. For more details see: go help gopathget

解决方案:it

export GOPATH=/home/zhangbl/gocode解决方案

相关文章
相关标签/搜索