docs: improve govet description (#4366)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
silverwind 2024-02-15 21:51:40 +01:00 committed by GitHub
parent e5d2bc9529
commit cc782046de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,8 +144,8 @@ func NewGovet(settings *config.GovetSettings) *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
"govet", "govet",
"Vet examines Go source code and reports suspicious constructs, "+ "Vet examines Go source code and reports suspicious constructs. "+
"such as Printf calls whose arguments do not align with the format string", "It is roughly the same as 'go vet' and uses its passes.",
analyzersFromConfig(settings), analyzersFromConfig(settings),
conf, conf,
).WithLoadMode(goanalysis.LoadModeTypesInfo) ).WithLoadMode(goanalysis.LoadModeTypesInfo)