You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/20 18:47:56 UTC

[GitHub] Juice10 commented on issue #967: Add `go get` to populate the vendor file

Juice10 commented on issue #967: Add `go get` to populate the vendor file
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/967#issuecomment-414422474
 
 
   I discovered this documentation https://github.com/apache/incubator-openwhisk-wskdeploy#developers-should-use-go-deps-and-go-build-not-go-get which specifically says we shouldn't use `go get`, maybe `go build` would be a good replacement here? 
   
   I tried godep a number of ways but they keep failing on me:
   ```bash
   $ godep go install
   main.go:21:2: cannot find package "github.com/apache/incubator-openwhisk-wskdeploy/cmd" in any of:
   	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd (from $GOROOT)
   	/Users/justin/go/src/github.com/apache/incubator-openwhisk-wskdeploy/Godeps/_workspace/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd (from $GOPATH)
   main.go:22:2: cannot find package "github.com/apache/incubator-openwhisk-wskdeploy/utils" in any of:
   	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/apache/incubator-openwhisk-wskdeploy/utils (from $GOROOT)
   	/Users/justin/go/src/github.com/apache/incubator-openwhisk-wskdeploy/Godeps/_workspace/src/github.com/apache/incubator-openwhisk-wskdeploy/utils (from $GOPATH)
   godep: go exit status 1
   ```
   
   ```bash
   $ godep get
   can't load package: package github.com/apache/incubator-openwhisk-wskdeploy: cannot find package "github.com/apache/incubator-openwhisk-wskdeploy" in any of:
   	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/apache/incubator-openwhisk-wskdeploy (from $GOROOT)
   	/Users/justin/go/src/github.com/apache/incubator-openwhisk-wskdeploy/Godeps/_workspace/src/github.com/apache/incubator-openwhisk-wskdeploy (from $GOPATH)
   godep: go exit status 1
   godep: exit status 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services