The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.
☆82May 21, 2026Updated this 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`.☆26Updated this week
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 4 months ago
- A linter that handle directives into `go.mod`.☆18May 8, 2026Updated 2 weeks ago
- Golang linter to use strconv☆45Nov 19, 2025Updated 6 months ago
- Accept Interfaces, Return Concrete Types☆85Mar 27, 2026Updated last month
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- detects nested contexts in loops or function literals☆76May 11, 2026Updated 2 weeks ago
- 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☆18Updated this week
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- Go linter for forbidding identifiers☆167Apr 12, 2026Updated last month
- 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 6 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 6 months ago
- ☆55Oct 16, 2024Updated last year
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- 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☆374Nov 24, 2025Updated 6 months ago
- golang analyzer that finds structures with uninitialized fields☆196May 19, 2026Updated last week
- 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 6 months ago
- golang linter to detect named returns☆29May 10, 2026Updated 2 weeks ago
- The Golang linter that checks usage of github.com/stretchr/testify.☆169Mar 1, 2026Updated 2 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated last month
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Check that no globals are present in Go code.☆130Feb 15, 2026Updated 3 months ago
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆18Updated this week
- ☆44Dec 16, 2024Updated last year
- Go Linter: finds wasted assignment statements 🗑☆39Feb 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☆51Feb 28, 2025Updated last year
- Codegen for functional options in go projects☆106Apr 11, 2026Updated last month
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- linter for copyright headers☆30Feb 10, 2026Updated 3 months 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 that checks for duplicate words in the source code (usually miswritten)☆16May 12, 2026Updated 2 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
- ☆121Apr 11, 2026Updated last month
- Protobuf golang linter - use getters instead of fields.☆33May 6, 2026Updated 2 weeks ago
- Analyzer: fourcetypeassert finds type assertions which did forcely☆49Feb 13, 2025Updated last year
- Analyzer: nilerr checks returning nil when err is not nil☆63Sep 28, 2025Updated 7 months ago
- Linter that confirms DB rows and statements are closed properly.☆93Mar 18, 2026Updated 2 months ago