no vendor directory exists this is the output from the godep save ( no dependencies found)
$ godep save -v
godep: Go Version: go1.6
godep: Finding dependencies for [.]
godep: Found package: github.com/toni-moreno/snmpcollector
godep: Deps:
godep: Computing new Godeps.json file
godep: Computing diff between old and new deps
godep: Rewriting paths (if necessary)
Steps to reproduce behavior
$go get https://github.com/toni-moreno/snmpcollector
(to install godep)
$go run build.go setup
(here download dependencies)
$go get github.com/Sirupsen/logrus
$go get github.com/go-macaron/binding
$go get github.com/go-macaron/cache
$go get github.com/go-macaron/session
$go get github.com/influxdata/influxdb/client/v2
$go get github.com/soniah/gosnmp
$go get github.com/spf13/viper
(now migration process)
$cd snmpcollector
$ unset GO15VENDOREXPERIMENT
$ godep restore
$ rm -rf Godeps
$ godep save
Expected behavior
After following the migration steps , I expect to have a new ./vendor directory in my package https://github.com/toni-moreno/snmpcollector
Actual behavior
no vendor directory exists this is the output from the godep save ( no dependencies found)
Steps to reproduce behavior
godep version
outputgodep v74 (linux/amd64/go1.6.2)
go version
outputgo version go1.6.2 linux/amd64
Contents of Godeps.json file
developer@ptlarqdev01:~/src/gospace/src/github.com/toni-moreno/snmpcollector$ cat Godeps/Godeps.json { "ImportPath": "github.com/toni-moreno/snmpcollector", "GoVersion": "go1.6", "GodepVersion": "v74", "Deps": [] }