简体   繁体   English

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

[英]Vendoring problem from Opencensus Libraries for Golang

I'm having problem while vendoring my go-project. 供应我的项目时出现问题。 Tried with both glide and go-dep - getting same problem. 尝试了滑行和降落-遇到同样的问题。

$ go get -u go.opencensus.io gives the following error: $ 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 link of this package - https://github.com/census-instrumentation/opencensus-go 这个包的Github链接-https: //github.com/census-instrumentation/opencensus-go

Tried setting a proxy to shell 尝试将代理设置为shell

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

And then it worked. 然后它起作用了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM