账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    go get 国内下载是否必须通过代理? -u -v 安装软件包,为何老是报错呢?
    64
    0

    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)

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 刘小焯 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部