2 回答

TA貢獻(xiàn)1921條經(jīng)驗(yàn) 獲得超9個(gè)贊
可能也是因?yàn)閏ode.google.com/p/go.net 已存檔。
確保您使用的項(xiàng)目包含該 go.net 項(xiàng)目的最新分支,例如github.com/hashicorp/go.net.
如果無(wú)法直接更改github.com/hidu/proxy-manager,則需要先將其分叉。
然后更改導(dǎo)入hidu/proxy-manager/manager/client.go#L4
對(duì)于“無(wú)法識(shí)別的導(dǎo)入路徑”,請(qǐng)參閱此線程:
一種常見(jiàn)的解釋是某些東西阻止了對(duì)golang.org域的訪問(wèn)。
go get -v golang.org/x/crypto/blowfish 應(yīng)該告訴你更多。
最后一部分對(duì)我有用:
C:\Users\vonc\prog>go get -v golang.org/x/crypto/blowfish
Fetching https://golang.org/x/crypto/blowfish?go-get=1
Parsing meta tags from https://golang.org/x/crypto/blowfish?go-get=1 (status code 200)
get "golang.org/x/crypto/blowfish": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto",
VCS:"git",
RepoRoot:"https://go.googlesource.com/crypto"}
at https://golang.org/x/crypto/blowfish?go-get=1
get "golang.org/x/crypto/blowfish": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
golang.org/x/crypto/blowfish
- 2 回答
- 0 關(guān)注
- 340 瀏覽
添加回答
舉報(bào)