go govendor 包管理工具

2020-07-30 17:00:54 +08:00
 faker1
一个历史项目用 govendor 管理 想 转成 go module ,发现 goproxy 不起作用。 都是 timeout , 有同学知道这个怎么处理吗?

```text
go: creating new go.mod: module a
go: copying requirements from vendor/vendor.json
go: converting vendor/vendor.json: stat github.com/pmezard/go-difflib/difflib@2aa2c176b9dab406a6970f6a55f513e8a8c8b18f: unknown revision 2aa2c176b9dab406a6970f6a55f513e8a8c8b18f
go: converting vendor/vendor.json: stat golang.org/x/crypto/ssh/terminal@e3636079e1a4c1f337f212cc5cd2aca108f6c900: unrecognized import path "golang.org/x/crypto/ssh/terminal": https fetch: Get "https://golang.org/x/crypto/ssh/terminal?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/text/unicode/norm@905a57155faa8230500121607930ebb9dd8e139c: unrecognized import path "golang.org/x/text/unicode/norm": https fetch: Get "https://golang.org/x/text/unicode/norm?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/image/font/basicfont@c73c2afc3b812cdd6385de5a50616511c4a3d458: unrecognized import path "golang.org/x/image/font/basicfont": https fetch: Get "https://golang.org/x/image/font/basicfont?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/image/font@c73c2afc3b812cdd6385de5a50616511c4a3d458: unrecognized import path "golang.org/x/image/font": https fetch: Get "https://golang.org/x/image/font?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/text/encoding/internal/identifier@905a57155faa8230500121607930ebb9dd8e139c: unrecognized import path "golang.org/x/text/encoding/internal/identifier": https fetch: Get "https://golang.org/x/text/encoding/internal/identifier?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/crypto/cast5@e3636079e1a4c1f337f212cc5cd2aca108f6c900: unrecognized import path "golang.org/x/crypto/cast5": https fetch: Get "https://golang.org/x/crypto/cast5?go-get=1": dial tcp 216.239.37.1:443: i/o timeout
go: converting vendor/vendor.json: stat golang.org/x/crypto/openpgp/packet@e3636079e1a4c1f337f212cc5cd2aca108f6c900: unrecognized import path "golang.org/x/crypto/openpgp/packet": https fetch: Get "https://golang.org/x/crypto/openpgp/packet?go-get=1": dial tcp 216.239.37.1:443: i/o timeout

```
1340 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/694389

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX