mkdir -p $env:GOPATH/src/golang.org/x/
cd $env:GOPATH/src/golang.org/x/
git clone https://github.com/golang/tools.git
go env -w GOPROXY=https://goproxy.cn,direct
重启vscode, 重新install,就成功了!
mkdir -p $env:GOPATH/src/golang.org/x/
cd $env:GOPATH/src/golang.org/x/
git clone https://github.com/golang/tools.git
go env -w GOPROXY=https://goproxy.cn,direct
重启vscode, 重新install,就成功了!