问题
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
回答1:
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 ./...
来源:https://stackoverflow.com/questions/35766457/godep-save-seems-not-working-for-https-github-com-hashicorp-terraform