Check that no globals are present in Go code.
☆136Feb 15, 2026Updated 7 months ago
Alternatives and similar repositories for gochecknoglobals
Users that are interested in gochecknoglobals are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- Go linter for forbidding identifiers☆181Apr 12, 2026Updated 5 months ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 5 months ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated 10 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 8 months ago
- ☆56Oct 16, 2024Updated last year
- ☆118Apr 11, 2026Updated 5 months ago
- Golang linter to check the errors handling expressions☆75Jul 20, 2026Updated 2 months ago
- Find unused parameters in Go☆571Aug 23, 2026Updated 3 weeks ago
- Golang linter that encourages you to use a separate _test package☆51Updated this week
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 10 months ago
- Analyzer: checks whether err of sql.Rows is checked.☆17Oct 14, 2023Updated 2 years ago
- ␊ whitespace linter - Forces you to use empty lines!☆361Sep 9, 2026Updated last week
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- noctx finds function calls without context.Context.☆233Mar 11, 2026Updated 6 months ago
- A Go linter to check that errors from external packages are wrapped☆373Sep 7, 2026Updated last week
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- Accept Interfaces, Return Concrete Types☆86Sep 2, 2026Updated 2 weeks ago
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 5 months ago
- Go linter that checks if package imports are in a list of acceptable packages.☆202Mar 6, 2025Updated last year
- golang linter to detect named returns☆29Sep 9, 2026Updated last week
- A linter that handle directives into `go.mod`.☆18Updated this week
- Detect deeply nested if statements in Go source code☆45Feb 26, 2026Updated 6 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- ☆46Dec 16, 2024Updated last year
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jul 23, 2026Updated last month
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 7 months ago
- Go Linter: finds wasted assignment statements 🗑☆38Feb 23, 2026Updated 6 months ago
- Analyzer: check whether a function uses a non-inherited context☆51May 22, 2026Updated 3 months ago
- Checks for a new line before return and branch statements.☆28Apr 4, 2024Updated 2 years ago
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆493Feb 24, 2026Updated 6 months ago
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆87Sep 1, 2026Updated 2 weeks ago
- Detect ineffectual assignments in Go code.☆471Aug 27, 2025Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- GCI, a tool that control golang package import order and make it always deterministic.☆576Mar 16, 2026Updated 6 months ago
- ☆23Jan 16, 2026Updated 8 months ago
- Find declarations in Go source code that shadow predeclared identifiers☆30Mar 31, 2025Updated last year
- linter to enforce consistent import aliases☆18Dec 26, 2024Updated last year
- Go linter for checking that your code uses short syntax for if-statements whenever possible.☆17Jul 31, 2022Updated 4 years ago
- Linter that confirms DB rows and statements are closed properly.☆92Mar 18, 2026Updated 6 months ago
- linter for copyright headers☆31Sep 2, 2026Updated 2 weeks ago