在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
echo "export GOPROXY=https://goproxy.cn" >> ~/.profile && source ~/.profile
下载github的package替代golang.org的packagegit clone --depth=1 https://github.com/golang/text.git $GOPATH/src/golang.org/x git clone --depth=1 https://github.com/golang/crypto.git $GOPATH/src/golang.org/x/crypto git clone --depth=1 https://github.com/golang/net.git $GOPATH/src/golang.org/x/net git clone --depth=1 https://github.com/golang/sys.git $GOPATH/src/golang.org/x/sys git clone --depth=1 https://github.com/golang/tools.git $GOPATH/src/golang.org/x/tools go get -u github.com/qiniu/x/log |
请发表评论