golang设置国内镜像源的方法

 

go env -w GOPROXY=https://goproxy.cn,direct

 

阿里云:https://mirrors.aliyun.com/goproxy微软:https://goproxy.io七牛云:https://goproxy.cn
GoCenter:https://gocenter.io

© 本文著作权归作者所有。转载请联系授权,禁止商用。