来自Opencensus图书馆的Golang供应商问题

时间:2019-02-13 05:26:16

标签: go godeps glide-golang govendor

在销售我的项目时遇到问题。尝试过滑行和下潜-遇到相同的问题。

$ go get -u go.opencensus.io出现以下错误:

package go.opencensus.io/opencensus-go: unrecognized import path "go.opencensus.io/opencensus-go" (https fetch: Get https://go.opencensus.io/opencensus-go?go-get=1: dial tcp <some-ip>: i/o timeout)

此软件包的Github链接-https://github.com/census-instrumentation/opencensus-go

1 个答案:

答案 0 :(得分:2)

尝试将代理设置为shell

export http_proxy=http://104.248.231.49:8080/
export https_proxy=http://104.248.231.49:8080/

然后它起作用了。