git config设置代理了
set http_proxy 也设置了
为何还是报错?
go get国内有镜像么?
go get -u -v github.com/zmb3/gogetdoc
github.com/zmb3/gogetdoc (download)
Fetching https://golang.org/x/tools/go...
Parsing meta tags from https://golang.org/x/tools/go... (status code 200)
get "golang.org/x/tools/go/buildutil": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go...
get "golang.org/x/tools/go/buildutil": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools?go...
Parsing meta tags from https://golang.org/x/tools?go... (status code 200)
golang.org/x/tools (download)
cd .; git clone https://go.googlesource.com/t... E:GoHOMEpathsrcgolang.orgxtools
����¡�� 'E:GoHOMEpathsrcgolang.orgxtools'...
fatal: unable to access 'https://go.googlesource.com/t...': Failed to connect to go.googlesource.com port 443: Connection timed out
package golang.org/x/tools/go/buildutil: exit status 128
Fetching https://golang.org/x/tools/go...
Parsing meta tags from https://golang.org/x/tools/go... (status code 200)
get "golang.org/x/tools/go/loader": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go...
get "golang.org/x/tools/go/loader": verifying non-authoritative meta tag
package golang.org/x/tools/go/loader: cannot find package "golang.org/x/tools/go/loader" in any of:
E:\GoHOME\go\src\golang.org\x\tools\go\loader (from $GOROOT)
E:\GoHOME\path\src\golang.org\x\tools\go\loader (from $GOPATH)
https://studygolang.com/artic...