Antonboom / nilnilLinks
The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.
☆75Updated 3 weeks ago
Alternatives and similar repositories for nilnil
Users that are interested in nilnil are comparing it to the libraries listed below
Sorting:
- A linter to ensure that slices are not initialized with non-zero length☆78Updated 8 months ago
- Go linter for forbidding identifiers☆153Updated 8 months ago
- ☆54Updated last year
- Accept Interfaces, Return Concrete Types☆77Updated last month
- Golang linter to check the errors handling expressions☆56Updated last month
- A linter that handles struct tags.☆55Updated last month
- Go linter that checks if package imports are in a list of acceptable packages.☆179Updated 7 months ago
- ☆121Updated last year
- 🚔 Enforce field tags in (un)marshaled structs☆38Updated last week
- golang analyzer that finds structures with uninitialized fields☆172Updated 2 months ago
- Linter that confirms DB rows and statements are closed properly.☆90Updated 5 months ago
- golang linter to detect named returns☆29Updated last week
- Check that no globals are present in Go code.☆120Updated 4 months ago
- Golang linter that encourages you to use a separate _test package☆51Updated last week
- Analyzer: fourcetypeassert finds type assertions which did forcely☆45Updated 8 months ago
- clear go error wrapping with caller☆62Updated 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`.☆26Updated 3 weeks ago
- Magic number detector for Go.☆201Updated last year
- Analyzer: check whether a function uses a non-inherited context☆49Updated 7 months ago
- A Go linter to check that errors from external packages are wrapped☆349Updated 6 months ago
- Checks for a new line before return and branch statements.☆27Updated last year
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆35Updated this week
- A source code linter that can be used to find code that will cause problems with Go's error wrapping scheme☆309Updated 2 weeks ago
- Go linter to detect erroneous multiplication of duration values☆48Updated last year
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆131Updated 3 weeks ago
- The Golang linter that checks usage of github.com/stretchr/testify.☆155Updated 2 weeks ago
- Analyzer: checks whether err of sql.Rows is checked.☆17Updated 2 years ago
- 🚨 Chi middleware for slog logger☆79Updated 2 weeks ago
- A handler for slog that prints colorized logs, similar to zerolog's console writer output without sacrificing performances☆52Updated last year
- Golang linter to use strconv☆41Updated this week