We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad4a6b2 commit 7fc341eCopy full SHA for 7fc341e
test/testdata/gochecknoglobals.go
@@ -11,7 +11,7 @@ var noGlobalsVar int // want "noGlobalsVar is a global variable"
11
var ErrSomeType = errors.New("test that global errors aren't warned")
12
13
var (
14
- OnlyDigites = regexp.MustCompile(`^\d+$`)
+ OnlyDigits = regexp.MustCompile(`^\d+$`)
15
BadNamedErr = errors.New("this is bad") // want "BadNamedErr is a global variable"
16
)
17
0 commit comments