godep save。/ ...似乎不适用于https://github.com/hashicorp/terraform [英] godep save ./... seems not working for https://github.com/hashicorp/terraform

查看:206
本文介绍了godep save。/ ...似乎不适用于https://github.com/hashicorp/terraform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在关注链接



如果我手动更新这个软件包,就去获取那么它看起来又是一个等等..
请让我知道如何成功运行这个感谢

解决方案

godeps 要求依赖项已经存在于你的 GOPATH 中。如果您还没有下载依赖关系,请先运行

  go get。/ ... 

然后您可以运行

  godep save。/ ... 


Hi i am following the link https://github.com/hashicorp/terraform . As per given section "Adding a dependency" i have successfully run below commands

git checkout master
git pull
godep restore -v # flag is optional, enables verbose output
git checkout my-feature-branch
git rebase master

Now when i run

godep save ./...

i am getting few packages not found.

if i manually update this package with go get then it looks another one and so on.. Please let me know how can i run this successfully thanks

解决方案

godeps requires the dependencies to be already in your GOPATH. If you haven't downloaded the dependencies (yet), first run

go get ./...

Then you can run

godep save ./...

这篇关于godep save。/ ...似乎不适用于https://github.com/hashicorp/terraform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆