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
go vet, which operates on packages but does not take options: usage: vet [-n] [-x] [packages]
go tool vet, which takes options but operates on files or directories:
Usage of vet:
vet [flags] directory...
vet [flags] files... # Must be a single package
It would be good to have parity between go vet and go tool vet one way or the other: either go tool vet should be able to operate on packages, or go vet should accept options. Perhaps go tool vet should be a superset of go vet.
The text was updated successfully, but these errors were encountered:
There are two ways to invoke
vet
:go vet
, which operates on packages but does not take options:usage: vet [-n] [-x] [packages]
go tool vet
, which takes options but operates on files or directories:It would be good to have parity between
go vet
andgo tool vet
one way or the other: eithergo tool vet
should be able to operate on packages, orgo vet
should accept options. Perhapsgo tool vet
should be a superset ofgo vet
.The text was updated successfully, but these errors were encountered: