golang代理使用proxy.cn

golang代理使用proxy.cn,参考:https://github.com/goproxy/goproxy.cn/blob/master/README.zh-CN.md

使用方法:

$ export GOPROXY=https://goproxy.cn
$ export GO111MODULE=on
$ export GOPROXY=https://goproxy.cn
或直接写入:~/.bash_profile

猜你喜欢

转载自www.cnblogs.com/embedded-linux/p/12006506.html