Giters
leighmcculloch
/
gochecknoglobals
Check that no globals are present in Go code.
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
101
Watchers:
5
Issues:
21
Forks:
11
leighmcculloch/gochecknoglobals Issues
Proposal: Change linter to allow globals and disallow mutation of global variables
Updated
2 months ago
Comments count
2
Add exception for other RegExp related constants
Updated
7 months ago
Comments count
1
Suggestion for sync.Once-based exception and pattern recommendation?
Updated
7 months ago
Add exception for template.Must
Updated
a year ago
Comments count
3
Improve global error variable detection
Closed
a year ago
Add support for ignoring generated files
Updated
a year ago
Comments count
3
Best pattern with this code: should I move this global var in my func?
Closed
a year ago
Comments count
4
Should default struct literals be excluded?
Closed
a year ago
Comments count
1
checks _test.go
Closed
a year ago
Comments count
1
Ignore variables in test packages/files
Closed
4 years ago
Comments count
10
How to avoid global variables using cobra?
Closed
2 years ago
Comments count
2
Ignore global variables prefixed with //go:embed
Closed
2 years ago
Comments count
3
Exclude "Version" global variable
Closed
3 years ago
Comments count
3
vanity import broken
Closed
3 years ago
Comments count
2
Is this a good pattern?
Closed
3 years ago
Comments count
1
Accept global var when only one single Go file in the package containing the `func main()`
Closed
4 years ago
Comments count
4
How to handle `regexp.MustCompile`
Closed
4 years ago
Comments count
8
Ignore struct acting as const?
Closed
5 years ago
Comments count
2
Feature Request: Add check for Exported global variables
Closed
5 years ago
Comments count
4
Ignore global vars prefixed with `{E,e}rr`
Closed
6 years ago
Comments count
5
Ignore gonna variables with name _
Closed
6 years ago
Comments count
1