The help for go vet does not mention that one can pass individual files, only packages.
-rob On Tue, Mar 5, 2019 at 6:20 AM Ian Lance Taylor <i...@golang.org> wrote: > On Sun, Mar 3, 2019 at 11:02 PM <durgasomeswararao...@gmail.com> wrote: > > > > Is it possible to use go vet <project> as go tool vet <project>. With go > vet it is giving no go source files, to use vet tool every time i have to > go different paths. Is there any way to use go vet as go tool vet. With go > tool vet I can be able to see log of all the folders at a time and no need > to go each and every folder. Currently, I am using go 1.12 which no > supporting go tool vet command. > > As the release notes say, `go tool vet` is no longer supported > (https://golang.org/doc/go1.12#vet). But `go vet` does support > passing file paths, and it does support checking directory trees with > `go vet a/b/...`. > > Ian > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.