golang 国内环境配置

 

写在 .bashrc 或 .zshrc 等文件中:

# golang env
export GO111MODULE=on
export GOPROXY=https://goproxy.cn  #七牛云提供的国内代理

 

posted @ 2019-12-04 20:54  范辉  阅读(701)  评论(0编辑  收藏  举报