go语言的dep第三方依赖管理工具问题

EddieChan1993 · 2018-08-26 20:59:15 · 1276 次点击 · 大约8小时之前 开始浏览    置顶
这是一个创建于 2018-08-26 20:59:15 的主题,其中的信息可能已经有所发展或是发生改变。

dep ensure -update等相关指令,速度很慢,甚至出现网络连接问题,请问如何解决

Solving failure: No versions of github.com/mattn/go-isatty met constraints:
    v0.0.3: unable to deduce repository and source type for "golang.org/x/sys/unix": unable to read metadata: unable to fetch raw metadata: failed HT
    TP request to URL "http://golang.org/x/sys/unix?go-get=1": Get http://golang.org/x/sys/unix?go-get=1: dial tcp 216.239.37.1:80: connectex: A connection a
    ttempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fa
    iled to respond.

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1276 次点击  
加入收藏 微博
3 回复  |  直到 2018-08-26 22:21:17
jarlyyn
jarlyyn · #1 · 7年之前

挂代理

http://golang.org/ 被墙乐

alphayan
alphayan · #2 · 7年之前

挂代理也慢。不知道为啥

fuhuizn
fuhuizn · #3 · 7年之前

用 govendor 可以提取本地包到 vendor 目录中,先用 golangtc 提供的下载页面下载。

添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传