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

在 ~/.bashrc 里加一下这两句
export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
posted @ 2016-08-11 23:10  藥師  阅读(789)  评论(0编辑  收藏  举报