Open anancds opened 3 years ago
go 配置代理: https://goproxy.io/ go env -w GO111MODULE=on go env -w GOPROXY="https://goproxy.io,direct"
Set environment variable allow bypassing the proxy for selected modules (optional) go env -w GOPRIVATE="*.corp.example.com"
Set environment variable allow bypassing the proxy for specified organizations (optional) go env -w GOPRIVATE="example.com/org_name"
go get results in 'terminal prompts disabled' error for github private repo
env GIT_TERMINAL_PROMPT=1 go get github.com/examplesite/myprivaterepo