Installing honnef.co/go/tools/cmd/staticcheck@latest FAILED
{
"killed": false,
"code": 1,
"signal": null,
"cmd": "D:\\GoLang\\bin\\go.exe install -v honnef.co/go/tools/cmd/staticcheck@latest",
"stdout": "",
"stderr": "go: downloading honnef.co/go/tools v0.3.0\ngo: honnef.co/go/tools/cmd/staticcheck@latest: honnef.co/go/tools@v0.3.0: verifying module: honnef.co/go/tools@v0.3.0: Get \"https://sum.golang.org/lookup/honnef.co/go/tools@v0.3.0\": dial tcp 172.217.163.49:443: i/o timeout\n"
}
更新失败,goproxy也已经改了 set GOPROXY=https://goproxy.io,dircet
求助大佬们
```bash
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
```
#1
更多评论