go-vet

vet Check Go source code and report suspicious constructs (e.g.…

go vet

Check Go source code and report suspicious constructs (e.g. lint your Go source files). Go vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found. More information: https://pkg.go.dev/cmd/vet.

go vet

go vet {{path/to/file_or_directory}}

go tool vet help

go tool vet help {{check_name}}

go vet -c={{N}}

go vet -json

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← go-version gow →