This repository was archived by the owner on Feb 26, 2019. It is now read-only.

Description
Expected behavior
go get github.com/tools/godep
- download dependencies to make sure 'go build' is ok
- 'godep save' save the correct dependencies
Actual behavior
error happens when building with 'vendor/':
vendor/golang.org/x/crypto/ssh/kex.go:17:2: cannot find package "golang.org/x/crypto/curve25519" in any of:
/vagrant/tenxcloud/shared_core/admin/code/src/tenx-admin-private/vendor/golang.org/x/crypto/curve25519 (vendor tree)
...
I must go to godep directory and checkout to 'v74', then execute 'go install'.
There should be some notes in README.md to guide users.
Steps to reproduce behavior
- execute 'go get github.com/tools/godep'
- download dependencies into GOPATH
- godep save
- remove or rename dependencies in GOPATH
- execute 'go build' in my project
godep version output
$ godep version
godep v74 (linux/amd64/go1.6)
go version output
$ go version
go version go1.6 linux/amd64
Contents of Godeps.json file
There is no 'golang.org/x/crypto/curve25519', only 'golang.org/x/crypto/ssh'
...
{
"ImportPath": "github.com/ugorji/go/codec",
"Rev": "a396ed22fc049df733440d90efe17475e3929ccb"
},
{
"ImportPath": "golang.org/x/crypto/ssh",
"Rev": "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6"
},
{
"ImportPath": "golang.org/x/net/context",
"Rev": "4876518f9e71663000c348837735820161a42df7"
},
...