go安装配置

# 设置 Go 代理为国内代理(必选)
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GOSUMDB=sum.golang.google.cn

 

setx HTTP_PROXY http://127.0.0.1:7890
setx HTTPS_PROXY http://127.0.0.1:7890

 

posted on 2025-12-01 23:39  lydstory  阅读(0)  评论(0)    收藏  举报

导航