執行安裝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解決方案