配置golang的环境变量

1
2
3
4
# 项目中用到 开启mod模式
go env -w GO111MODULE=on
# 设置镜像代理
go env -w GOPROXY=https://goproxy.cn

七牛云代理