Go module代理配置 1.配置环境变量:go env -w GOPROXY=https://goproxy.cn,direct
2.针对使用GoLand IDE,可在工程中配置:performance → Go →Go Moulds → Proxy: 设置 https://goproxy.cn,direct
### 对私有仓库的支持
git config --global url."git@gitlab.com:groupName/projectName.git".insteadOf "https://gitlab.com/groupName/projectName.git"`
# Set environment variable allow bypassing the proxy for selected modules
go env -w GOPRIVATE=*.private.cn