doc: replace golang with Go in descriptions for gci, thelper, goerr113 (#3651)

This commit is contained in:
Oleksandr Redko 2023-03-03 14:46:16 +02:00 committed by GitHub
parent 49ce80ae82
commit ad334b0650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ func NewGci(settings *config.GciSettings) *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
gciName, gciName,
"Gci controls golang package import order and makes it always deterministic.", "Gci controls Go package import order and makes it always deterministic.",
[]*analysis.Analyzer{analyzer}, []*analysis.Analyzer{analyzer},
nil, nil,
).WithContextSetter(func(lintCtx *linter.Context) { ).WithContextSetter(func(lintCtx *linter.Context) {

View File

@ -10,7 +10,7 @@ import (
func NewGoerr113() *goanalysis.Linter { func NewGoerr113() *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
"goerr113", "goerr113",
"Golang linter to check the errors handling expressions", "Go linter to check the errors handling expressions",
[]*analysis.Analyzer{err113.NewAnalyzer()}, []*analysis.Analyzer{err113.NewAnalyzer()},
nil, nil,
).WithLoadMode(goanalysis.LoadModeTypesInfo) ).WithLoadMode(goanalysis.LoadModeTypesInfo)

View File

@ -55,7 +55,7 @@ func NewThelper(cfg *config.ThelperSettings) *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
"thelper", "thelper",
"thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers", "thelper detects Go test helpers without t.Helper() call and checks the consistency of test helpers",
[]*analysis.Analyzer{a}, []*analysis.Analyzer{a},
cfgMap, cfgMap,
).WithLoadMode(goanalysis.LoadModeTypesInfo) ).WithLoadMode(goanalysis.LoadModeTypesInfo)