The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.
☆83Jun 4, 2026Updated last week
Alternatives and similar repositories for nilnil
Users that are interested in nilnil are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆26Jun 4, 2026Updated last week
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 4 months ago
- A linter that handle directives into `go.mod`.☆18Jun 3, 2026Updated last week
- Golang linter to use strconv☆46Nov 19, 2025Updated 6 months ago
- Accept Interfaces, Return Concrete Types☆86May 31, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- detects nested contexts in loops or function literals☆77Jun 3, 2026Updated last week
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- Go Linter 🧐 (available in golangci-lint) that checks the order of methods and constructors☆19Jun 2, 2026Updated last week
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- Go linter for forbidding identifiers☆169Apr 12, 2026Updated 2 months ago
- Go linter to detect erroneous multiplication of duration values☆48Oct 24, 2025Updated 7 months ago
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆39Oct 30, 2025Updated 7 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 7 months ago
- ☆56Oct 16, 2024Updated last year
- 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.
- tenv detects environment variable not using t.Setenv☆24Jan 6, 2025Updated last year
- Go linter that checks if package imports are in a list of acceptable packages.☆200Mar 6, 2025Updated last year
- A Go linter to check that errors from external packages are wrapped☆373Nov 24, 2025Updated 6 months ago
- golang analyzer that finds structures with uninitialized fields☆199May 19, 2026Updated 3 weeks ago
- Magic number detector for Go.☆207Dec 21, 2023Updated 2 years ago
- copyloopvar is a linter detects places where loop variables are copied.☆25Oct 28, 2025Updated 7 months ago
- golang linter to detect named returns☆29Updated this week
- The Golang linter that checks usage of github.com/stretchr/testify.☆169Updated this week
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 2 months ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- noctx finds function calls without context.Context.☆226Mar 11, 2026Updated 3 months ago
- Check that no globals are present in Go code.☆131Feb 15, 2026Updated 4 months ago
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆20Jun 4, 2026Updated last week
- ☆44Dec 16, 2024Updated last year
- Go Linter: finds wasted assignment statements 🗑☆38Feb 23, 2026Updated 3 months ago
- A linter for logr,klog,zap that can also works with golangci-lint as a plugin☆17Apr 10, 2025Updated last year
- Analyzer: check whether a function uses a non-inherited context☆51May 22, 2026Updated 3 weeks ago
- Codegen for functional options in go projects☆107Apr 11, 2026Updated 2 months ago
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- 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.
- linter for copyright headers☆30Feb 10, 2026Updated 4 months ago
- A linter that checks for duplicate words in the source code (usually miswritten)☆16May 12, 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 4 months ago
- ☆119Apr 11, 2026Updated 2 months ago
- Protobuf golang linter - use getters instead of fields.☆34May 6, 2026Updated last month
- Analyzer: nilerr checks returning nil when err is not nil☆63Sep 28, 2025Updated 8 months ago
- Analyzer: fourcetypeassert finds type assertions which did forcely☆49Feb 13, 2025Updated last year