golang go get失败解决办法
Table of Contents
golang go get失败解决办法
linux
vim ~/.bashrc or ~/.zshrc #尾部添加 export GO111MODULE=on export GOPROXY=https://goproxy.cn,direct or GOPROXY=https://goproxy.io,direct #然后 source ~/.bashrc or source ~/.zshrc #版本要求 go version >=1.13
详细可以请参考 https://goproxy.io/zh/
- Author: josephzeng
- License: CC BY-NC-ND 4.0