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

cmd/go: go generate ./... will recurse into vendor #17497

Closed
willfaught opened this issue Oct 18, 2016 · 4 comments
Closed

cmd/go: go generate ./... will recurse into vendor #17497

willfaught opened this issue Oct 18, 2016 · 4 comments

Comments

@willfaught
Copy link
Contributor

Is that correct behavior? (go version go1.7.1 darwin/amd64) I didn't expect it, at least.

Where is this feature explained in the official documentation? go help what?

@bradfitz
Copy link
Contributor

Yes, that's the correct behavior. vendor and internal are not special in any of these regards. All the other commands also work like that.

I'm not sure there's anything to document, since it's not a special case.

@willfaught
Copy link
Contributor Author

Makes sense.

Shouldn't go help build at least explain how vendor and internal work? The spec doesn't explain it, IIRC. It's puzzling when go help build | grep vendor or the same for internal print nothing.

@bradfitz
Copy link
Contributor

go help gopath

@willfaught
Copy link
Contributor Author

Thanks.

@golang golang locked and limited conversation to collaborators Oct 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants