如上图,使用go install 暗转delve,提示“A connection attempt failed...”,意思就是连接不上,google后找到答案,重新设置代理即可:
go env -w GOPROXY=https://goproxy.cn
参考来源:https://stackoverflow.com/questions/67297874/go-get-cannot-fetch-package-in-china-mainland
如上图,使用go install 暗转delve,提示“A connection attempt failed...”,意思就是连接不上,google后找到答案,重新设置代理即可:
go env -w GOPROXY=https://goproxy.cn
参考来源:https://stackoverflow.com/questions/67297874/go-get-cannot-fetch-package-in-china-mainland