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: Enhancement: Recurse more go commands by default #35434

Closed
mcandre opened this issue Nov 7, 2019 · 2 comments
Closed

cmd/go: Enhancement: Recurse more go commands by default #35434

mcandre opened this issue Nov 7, 2019 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Nov 7, 2019

Users new and old may forget to explicitly recurse various Go commands with the ./... syntax. Could we enable this recursing behavior by default, e.g. for go build, go install, go test?

@ianlancetaylor ianlancetaylor changed the title Enhancement: Recurse more go commands by default cmd/go: Enhancement: Recurse more go commands by default Nov 7, 2019
@ianlancetaylor
Copy link
Contributor

That would be a surprising change in behavior. The tool has to default to recursing or not recursing. It seems to me that not recursing is a reasonable default. I don't see a strong reason to change the default.

@jayconrod
Copy link
Contributor

Closing for the reasons @ianlancetaylor gave. Changing the default would break people's workflows.

@golang golang locked and limited conversation to collaborators Nov 6, 2020
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

4 participants