On Mon, Mar 4, 2019 at 2:00 PM Rob Pike <r...@golang.org> wrote:
>
> The help for go vet does not mention that one can pass individual files, only 
> packages.

I'm hardly going to claim that the docs are clear, but most of the go
commands accept a list of files, which is documented at
https://golang.org/cmd/go/#hdr-Package_lists_and_patterns if you read
carefully.

Ian

> 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.

Reply via email to