go 代理

 

环境变量中设置

#GO111MODULE=auto
GOPROXY=https://goproxy.io

如果不第一次,则在命令行设置

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




posted @ 2020-11-22 17:55  方诚  阅读(452)  评论(0编辑  收藏  举报