在销售我的项目时遇到问题。尝试过滑行和下潜-遇到相同的问题。
$ 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
答案 0 :(得分:2)
尝试将代理设置为shell
export http_proxy=http://104.248.231.49:8080/
export https_proxy=http://104.248.231.49:8080/
然后它起作用了。