vscode中go 执行install all报错
golang.org/x/tools/gopls@latest: module golang.org/x/tools/gopls: Get "https://proxy.golang.org/golang.org/x/tools/gopls/@v/list": dial tcp 172.217.160.113:443: connectex: A connection attempt failed because the connected party did not properly respond af。
代理的原因,解决方案是修改代理,切换到国内的源
打开cmd窗口,执行以下命令即可
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct