原因: 依赖的包里面有个引用包的域名做了变更,但是包里面又没有更新,导致找不到包.
报错: failed to list versions for [project]: remote: The project you were looking for could not be found.
dep:
version : v0.5.4
build date : 2019-06-14
git hash : 1f7c19e
go version : go1.12.6
go compiler : gc
platform : darwin/amd64
features : ImportDuringSolve=false
通过dep check可知是因为项目不是直接依赖的包. 最后采用overwrite来解决
来源:oschina
链接:https://my.oschina.net/3233123/blog/3175165