:GoMetaLinter inside a go file:GoVet inside the same go filePlease provide a recipe to replicate your problem with a minimal vimrc with all plugins other than vim-go disabled.
vet, golint, and errcheck to be runvet to be run againgolint offers suggestions, errcheck appears not to produce any errors, and the bottom of the quickfix window says: || WARING: exec: "govet": executable file not found in $PATH[vet] PASSBest guess is it meant to run go vet, two words, and somehow they got smashed together.
:version):VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 5 2017 19:20:19)
MacOS X (unix) version
Included patches: 1-1175
Compiled by Homebrew
go version): 1.9.1 darwinvimrc you used to reproduce:I couldn't get a full reproduce, as a minimal project gave me the following results instead:
[vet] FAILvimrc:
set nocompatible
filetype indent plugin on
syntax on
set rtp+=~/.vim/bundle/vim-go
Somehow gometalinter decided to run govet instead of go vet. Both are different tools. If you do gometalinter --install from your terminal it'll fix it. I think we should add now govet to :GoInstallBinaries. This is the third time people asked this to me.
Seems like they even forked go tool vet to add some functionality.
Adding it to binaries is probably a good idea, since it won't cause unexpected failures like above. Thanks for the quick reply!
We could maybe also run gometalinter --install with :Go{Install,Update}Binaries ?
See: #1555
Most helpful comment
Somehow
gometalinterdecided to rungovetinstead ofgo vet. Both are different tools. If you dogometalinter --installfrom your terminal it'll fix it. I think we should add nowgovetto:GoInstallBinaries. This is the third time people asked this to me.