V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
faker1
V2EX  ›  问与答

go govendor 包管理工具

  •  
  •   faker1 · 2020-07-30 17:00:54 +08:00 · 1343 次点击
    这是一个创建于 1610 天前的主题,其中的信息可能已经有所发展或是发生改变。
    一个历史项目用 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

    ```
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2801 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:06 · PVG 23:06 · LAX 07:06 · JFK 10:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.