配置
Windows
选一个
go env-wGOPROXY=https://goproxy.cn,direct
go env-wGOPROXY=https://mirrors.aliyun.com/goproxy,direct
Mac/Linux
exportGOPROXY=https://goproxy.cn
exportGOPROXY=https://mirrors.aliyun.com/goproxy
查看环境配置
查看GOPROXY是否配置成功。
go env
其他镜像地址
本文转载自: https://blog.csdn.net/malu_record/article/details/133820642
版权归原作者 码鹿的笔记 所有, 如有侵权,请联系我们删除。
版权归原作者 码鹿的笔记 所有, 如有侵权,请联系我们删除。