macOS
brew install go
export GOPROXY=https://proxy.golang.com.cn,direct
Linux
brew install go
export GOPROXY=https://proxy.golang.com.cn,direct
Windows
scoop install go
$env:GOPROXY = "https://proxy.golang.com.cn,direct"
标签:https,GOPROXY,direct,golang,proxy,install,Go
From: https://www.cnblogs.com/newhappy98/p/17367303.html