Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for vendored code? #25

Open
ryanking opened this issue Jul 12, 2016 · 0 comments
Open

support for vendored code? #25

ryanking opened this issue Jul 12, 2016 · 0 comments

Comments

@ryanking
Copy link

We have a monorepo (one repo many projects) that uses vendoring. I've gotten the tool to the point of working, but it can never find any of the vendored code. Example error:

/Users/rk/go/hail/src/services/api/handlers/add_credit_card_handler_test.go:8:4: could not import github.com/onsi/ginkgo (cannot find package "github.com/onsi/ginkgo" in any of:
    /usr/local/Cellar/go/1.6.2/libexec/src/github.com/onsi/ginkgo (from $GOROOT)
    /Users/rk/go/hail/src/github.com/onsi/ginkgo (from $GOPATH))

That code is at /Users/rk/go/hail/src/vendor/github.com/onsi/ginkgo, which should be found if vendoring is turned on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants