Check that expression switches and type switches in Go source code are exhaustive.
☆350Oct 31, 2026Updated last week
Alternatives and similar repositories for exhaustive
Users that are interested in exhaustive are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- golang analyzer that finds structures with uninitialized fields☆213Sep 4, 2026Updated 2 months ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated last year
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated last year
- Go linter for forbidding identifiers☆186Apr 12, 2026Updated 6 months ago
- A Go linter to check that errors from external packages are wrapped☆373Oct 15, 2026Updated 3 weeks ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 6 months ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 9 months ago
- Find unused parameters in Go☆572Updated this week
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 8 months ago
- ☆56Oct 16, 2024Updated 2 years ago
- Go linter that checks if package imports are in a list of acceptable packages.☆208Updated this week
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- A linter that handle directives into `go.mod`.☆18Updated this week
- Golang linter that encourages you to use a separate _test package☆51Oct 26, 2026Updated last week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- noctx finds function calls without context.Context.☆232Mar 11, 2026Updated 7 months ago
- A simple utility for running exhaustiveness checks on Go "sum types."☆454Mar 21, 2025Updated last year
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆25Oct 1, 2026Updated last month
- ☆118Apr 11, 2026Updated 6 months ago
- A simple utility for running exhaustiveness checks on Go "sum types."☆58Oct 24, 2026Updated 2 weeks ago
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 7 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 9 months ago
- Define and run pattern-based custom linting rules.☆882Sep 25, 2025Updated last year
- Golang linter to check the errors handling expressions☆78Jul 20, 2026Updated 3 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Remove unnecessary type conversions from Go source☆388Oct 20, 2026Updated 2 weeks ago
- ␊ whitespace linter - Forces you to use empty lines!☆366Updated this week
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Sep 23, 2026Updated last month
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆501Oct 6, 2026Updated last month
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆88Oct 1, 2026Updated last month
- Find declarations that shadow any of Go's predeclared identifiers☆31Oct 30, 2026Updated last week
- Analyzer: fourcetypeassert finds type assertions which did forcely☆49Feb 13, 2025Updated last year
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆666Feb 26, 2026Updated 8 months ago
- linter for copyright headers☆31Updated this week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- ☆46Dec 16, 2024Updated last year
- Analyzer: checks whether err of sql.Rows is checked.☆17Oct 14, 2023Updated 3 years ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- Linter that confirms DB rows and statements are closed properly.☆92Mar 18, 2026Updated 7 months ago
- Analyzer: nilerr checks returning nil when err is not nil☆65Sep 28, 2025Updated last year
- Analyzer: check whether a function uses a non-inherited context☆51Oct 29, 2026Updated last week
- A stricter gofmt☆4,108Oct 12, 2026Updated 3 weeks ago