go 1.11后续版本新增了 GOPROXY 环境变量,go get会根据这个环境变量来决定去哪里取引入库的代码
#/etc/profile
export GOPROXY=https://goproxy.io
#source #/etc/profile
閱讀更多 ethnicity 的文章
2020-04-06 10:21:00 ethnicity
go 1.11后续版本新增了 GOPROXY 环境变量,go get会根据这个环境变量来决定去哪里取引入库的代码
#/etc/profile
export GOPROXY=https://goproxy.io
#source #/etc/profile
閱讀更多 ethnicity 的文章