1.去github上clone一份代码
go get github.com/docker/engine-api
2. 在本地对
engine-api
做了修改。【这些修改是我无意的】
3. 过几天,
github.com/docker/engine-api
有更新,于是我想下载更新后的代码。
4.
go get -u github.com/docker/engine-api
,此时就会报错:
我现在的解决方法是,先删掉原有的engine-api目录,然后重新
go get github.com/docker/engine-api
一份,但是这种方法太麻烦了。求各位大神传授奇淫技巧。
1 个回复
田浩浩 - wizmacau developer
赞同来自:
请参考 http://stackoverflow.com/quest ... -by-m