You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the GOPROXY environment variable export GOPROXY=https://goproxy.io,direct
Set environment variable allow bypassing the proxy for specified repos (optional) export GOPRIVATE=git.mycompany.com,github.com/my/private
PowerShell (Windows)
Set the GOPROXY environment variable $env:GOPROXY = "https://goproxy.io,direct"
Set environment variable allow bypassing the proxy for specified repos (optional) $env:GOPRIVATE = "git.mycompany.com,github.com/my/private"
The text was updated successfully, but these errors were encountered:
m4ra7h0n
changed the title
go: github.com/cpuguy83/go-md2man/[email protected]: Get "https://proxy.golang.org/github.com/cpuguy83/go-md2man/v2/@v/v2.0.0.mod": dial tcp 172.217.163.49:443: i/o timeout
运行报错
Feb 11, 2023
报错如下
go: github.com/cpuguy83/go-md2man/[email protected]: Get "https://proxy.golang.org/github.com/cpuguy83/go-md2man/v2/@v/v2.0.0.mod": dial tcp 172.217.163.49:443: i/o timeout
感谢P牛的工具, 问题已解决, 给后来的小伙伴借鉴
运行之前需要添加一个代理, 代理的官网: https://goproxy.io/
添加方式如下:
Bash (Linux or macOS)
Set the GOPROXY environment variable
export GOPROXY=https://goproxy.io,direct
Set environment variable allow bypassing the proxy for specified repos (optional)
export GOPRIVATE=git.mycompany.com,github.com/my/private
PowerShell (Windows)
Set the GOPROXY environment variable
$env:GOPROXY = "https://goproxy.io,direct"
Set environment variable allow bypassing the proxy for specified repos (optional)
$env:GOPRIVATE = "git.mycompany.com,github.com/my/private"
The text was updated successfully, but these errors were encountered: