From ad334b0650c5e7787d0200e9bfa4cdb26446aa8c Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 3 Mar 2023 14:46:16 +0200 Subject: [PATCH] doc: replace golang with Go in descriptions for gci, thelper, goerr113 (#3651) --- pkg/golinters/gci.go | 2 +- pkg/golinters/goerr113.go | 2 +- pkg/golinters/thelper.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/golinters/gci.go b/pkg/golinters/gci.go index c5599737..92c5fc61 100644 --- a/pkg/golinters/gci.go +++ b/pkg/golinters/gci.go @@ -57,7 +57,7 @@ func NewGci(settings *config.GciSettings) *goanalysis.Linter { return goanalysis.NewLinter( 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}, nil, ).WithContextSetter(func(lintCtx *linter.Context) { diff --git a/pkg/golinters/goerr113.go b/pkg/golinters/goerr113.go index c97b6d58..10addc57 100644 --- a/pkg/golinters/goerr113.go +++ b/pkg/golinters/goerr113.go @@ -10,7 +10,7 @@ import ( func NewGoerr113() *goanalysis.Linter { return goanalysis.NewLinter( "goerr113", - "Golang linter to check the errors handling expressions", + "Go linter to check the errors handling expressions", []*analysis.Analyzer{err113.NewAnalyzer()}, nil, ).WithLoadMode(goanalysis.LoadModeTypesInfo) diff --git a/pkg/golinters/thelper.go b/pkg/golinters/thelper.go index 41edbe76..9d6b24bd 100644 --- a/pkg/golinters/thelper.go +++ b/pkg/golinters/thelper.go @@ -55,7 +55,7 @@ func NewThelper(cfg *config.ThelperSettings) *goanalysis.Linter { return goanalysis.NewLinter( "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}, cfgMap, ).WithLoadMode(goanalysis.LoadModeTypesInfo)