Golang - 设置国内代理
1、windows环境:
go env -w GOPROXY=https://goproxy.cn,direct
2、mac环境:
export GOPROXY=https://goproxy.cn,direct source ~/.bash_profile
1、windows环境:
go env -w GOPROXY=https://goproxy.cn,direct
2、mac环境:
export GOPROXY=https://goproxy.cn,direct source ~/.bash_profile