Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/vet: go vet not supporting vendoring #15182
Please answer these questions before submitting your issue. Thanks!
vendor a package into another. run 'go tool vet -v thepkg/thefile.go'
Any vet reports.
Missing reports when compared to having the vendored lib in the gopath like normal. Also see in the output, something like:
vet: ./internal/httpserver/httpserver.go:13:2: could not import github.com/rs/cors (can't find import: COMPANYSPECIFIC/vendor/github.com/rs/cors)
which is not the case if the dependency is in the gopath.
Another user with the same thing on the mailing list and me whining in the thread :)