Antonboom / nilnilView external linksLinks
The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.
☆79Feb 1, 2026Updated last week
Alternatives and similar repositories for nilnil
Users that are interested in nilnil are comparing it to the libraries listed below
Sorting:
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆26Feb 1, 2026Updated last week
- 🚔 Enforce field tags in (un)marshaled structs☆39Jan 19, 2026Updated 3 weeks ago
- Golang linter to use strconv☆43Nov 19, 2025Updated 2 months ago
- Accept Interfaces, Return Concrete Types☆79Dec 15, 2025Updated last month
- A linter that handle directives into `go.mod`.☆16Dec 4, 2025Updated 2 months ago
- detects nested contexts in loops or function literals☆65Updated this week
- Go Linter 🧐 that checks the order of methods and constructors☆15Jan 19, 2026Updated 3 weeks ago
- ☆55Oct 16, 2024Updated last year
- Go linter for forbidding identifiers☆160Oct 25, 2025Updated 3 months ago
- copyloopvar is a linter detects places where loop variables are copied.☆23Oct 28, 2025Updated 3 months ago
- A linter for logr,klog,zap that can also works with golangci-lint as a plugin☆17Apr 10, 2025Updated 10 months ago
- ☆43Dec 16, 2024Updated last year
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 3 months ago
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- golang analyzer that finds structures with uninitialized fields☆184Jan 9, 2026Updated last month
- Analyzer: check whether a function uses a non-inherited context☆49Feb 28, 2025Updated 11 months ago
- A Go linter to check that errors from external packages are wrapped☆358Nov 24, 2025Updated 2 months ago
- Go linter to detect erroneous multiplication of duration values☆49Oct 24, 2025Updated 3 months ago
- golang linter to detect named returns☆29Updated this week
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆36Oct 30, 2025Updated 3 months ago
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 3 months ago
- noctx finds function calls without context.Context.☆216Jul 28, 2025Updated 6 months ago
- Go linter that checks if package imports are in a list of acceptable packages.☆192Mar 6, 2025Updated 11 months ago
- Check that no globals are present in Go code.☆128May 24, 2025Updated 8 months ago
- linter for copyright headers☆30Updated this week
- tenv detects environment variable not using t.Setenv☆24Jan 6, 2025Updated last year
- A linter that checks for duplicate words in the source code (usually miswritten)☆15Updated this week
- The Golang linter that checks usage of github.com/stretchr/testify.☆163Feb 1, 2026Updated last week
- Go Linter: finds wasted assignment statements 🗑☆38Dec 2, 2024Updated last year
- ☆121Dec 26, 2025Updated last month
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆17Jul 11, 2025Updated 7 months ago
- Checks for a new line before return and branch statements.☆27Apr 4, 2024Updated last year
- Analyzer: fourcetypeassert finds type assertions which did forcely☆48Feb 13, 2025Updated last year
- Codegen for functional options in go projects☆107Nov 2, 2025Updated 3 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated last week
- ☆21Jan 16, 2026Updated 3 weeks ago
- Protobuf golang linter - use getters instead of fields.☆33Feb 5, 2026Updated last week