执行安装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解决方案