版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/alexander_phper/article/details/88024247
从github上面拉取golang包,做一个软连映射即可;
git clone https://github.com/golang/net.git $GOPATH/src/github.com/golang/net
git clone https://github.com/golang/sys.git $GOPATH/src/github.com/golang/sys
ln -s /data/www/golang/src/github.com/golang /data/www/golang/src/golang.org/x
有疑问加站长微信联系(非本文作者)