标签:
在 ~/.bashrc 里加一下这两句export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
请使用手机"扫一扫"x
cannot download, $GOPATH not set. For more details see: go help gopath
原文地址:http://www.cnblogs.com/yaoshi/p/5763146.html