2 回答
TA贡献1921条经验 获得超9个赞
可能也是因为code.google.com/p/go.net 已存档。
确保您使用的项目包含该 go.net 项目的最新分支,例如github.com/hashicorp/go.net.
如果无法直接更改github.com/hidu/proxy-manager,则需要先将其分叉。
然后更改导入hidu/proxy-manager/manager/client.go#L4
对于“无法识别的导入路径”,请参阅此线程:
一种常见的解释是某些东西阻止了对golang.org域的访问。
go get -v golang.org/x/crypto/blowfish 应该告诉你更多。
最后一部分对我有用:
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 关注
- 302 浏览
添加回答
举报