Check exhaustiveness of switch statements of enum-like constants in Go source code.
☆340Dec 5, 2024Updated last year
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:
- Go linter to detect erroneous multiplication of duration values☆48Oct 24, 2025Updated 7 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 6 months ago
- Go linter for forbidding identifiers☆168Apr 12, 2026Updated last month
- golang analyzer that finds structures with uninitialized fields☆196May 19, 2026Updated last week
- A linter that handle directives into `go.mod`.☆18Updated this week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- A Go linter to check that errors from external packages are wrapped☆374Nov 24, 2025Updated 6 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated last month
- Find unused parameters in Go☆572Oct 27, 2025Updated 7 months ago
- Magic number detector for Go.☆207Dec 21, 2023Updated 2 years ago
- Golang linter that encourages you to use a separate _test package☆51May 19, 2026Updated last week
- linter for copyright headers☆30Feb 10, 2026Updated 3 months ago
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆26May 21, 2026Updated last week
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- A simple utility for running exhaustiveness checks on Go "sum types."☆452Mar 21, 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.
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 4 months ago
- Go linter that checks if package imports are in a list of acceptable packages.☆200Mar 6, 2025Updated last year
- Linter that checks that comments end in a period☆49Mar 27, 2026Updated 2 months ago
- noctx finds function calls without context.Context.☆224Mar 11, 2026Updated 2 months ago
- Remove unnecessary type conversions from Go source☆387Feb 16, 2025Updated last year
- Check that no globals are present in Go code.☆131Feb 15, 2026Updated 3 months ago
- ☆121Apr 11, 2026Updated last month
- Define and run pattern-based custom linting rules.☆866Sep 25, 2025Updated 8 months ago
- Golang linter to check the errors handling expressions☆70Sep 18, 2025Updated 8 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- A simple utility for running exhaustiveness checks on Go "sum types."☆46May 9, 2026Updated 3 weeks ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆133Feb 1, 2026Updated 3 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆324Jan 29, 2026Updated 4 months ago
- Linter that confirms DB rows and statements are closed properly.☆93Mar 18, 2026Updated 2 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- ␊ whitespace linter - Forces you to use empty lines!☆391May 9, 2026Updated 3 weeks ago
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆665Feb 26, 2026Updated 3 months ago
- Type-safe assertion helpers for Go☆17Nov 21, 2025Updated 6 months ago
- ☆55Oct 16, 2024Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Reference implementations for golang/go#38203 and golang/go#19367.☆26Aug 31, 2021Updated 4 years ago
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆467Feb 24, 2026Updated 3 months ago
- Safe HTML for Go☆377Mar 17, 2026Updated 2 months ago
- Find declarations in Go source code that shadow predeclared identifiers☆31Mar 31, 2025Updated last year
- Golang linter to use strconv☆46Nov 19, 2025Updated 6 months ago
- A stricter gofmt☆3,988May 4, 2026Updated 3 weeks ago
- Static analysis tool to detect potential nil panics in Go code☆3,823May 15, 2026Updated 2 weeks ago