zkar icon indicating copy to clipboard operation
zkar copied to clipboard

运行报错

Open m4ra7h0n opened this issue 2 years ago • 0 comments

报错如下 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"

m4ra7h0n avatar Feb 11 '23 04:02 m4ra7h0n