You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that go generate tries to be robust against many kinds of errors since it is often invoked on a project that won't build, but I don't think it should silently succeed when given the name of a nonexistent package:
$ go help generate
...
Generate processes packages in the order given on the command line, one at a time...
For more about specifying packages, see 'go help packages'.
$ go generate ./nonesuch; echo $?
0
The text was updated successfully, but these errors were encountered:
I understand that go generate tries to be robust against many kinds of errors since it is often invoked on a project that won't build, but I don't think it should silently succeed when given the name of a nonexistent package:
The text was updated successfully, but these errors were encountered: