Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: clarify error message for 'go get -u' without arguments in a module root that is not a package #37700
What version of Go are you using (go version)?
What did you do?
I'm working on a project that has no Go package in the root directory of the module. Running
This seems to imply, to me, that running
If you want to update the dependencies of all packages within a module, you want
We probably do need a clearer error message for this case.