go 获取golang.org/x/tools包,由于墙得原因,设置代理也不成功,提示如下
go get golang.org/x/tools/go/packages
package golang.org/x/tools/go/packages: unrecognized import path "golang.org/x/tools/go/packages" (https fetch: Get https://golang.org/x/tools/go/packages?go-get=1: proxyconnect tcp: net/http: TLS handshake timeout)
替代的解决办法就是直接去https://github.com/golang/tools.git 克隆一份然后放到E:\gopath\src\golang.org\x\tools目录下(E:\gopath\是自己的go path路径)