ashanbrown / makezero
A linter to ensure that slices are not initialized with non-zero length
☆75Updated last month
Alternatives and similar repositories for makezero:
Users that are interested in makezero are comparing it to the libraries listed below
- Go linter for forbidding identifiers☆135Updated last month
- ☆120Updated 9 months ago
- Accept Interfaces, Return Concrete Types☆64Updated 3 months ago
- ☆53Updated 5 months ago
- Go linter to detect erroneous multiplication of duration values☆47Updated 10 months ago
- Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.☆118Updated last year
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆62Updated last week
- 🪵 Ensure consistent code style when using log/slog☆160Updated last week
- Allow and block list linter for direct Go module dependencies.☆74Updated last week
- Check that no globals are present in Go code.☆110Updated last month
- noctx finds sending http request without context.Context.☆184Updated last month
- golang linter to detect named returns☆28Updated 2 weeks ago
- A linter that handles struct tags.☆51Updated 2 months ago
- An analyzer that checks for pointers to enclosing loop variables.☆38Updated last year
- A source code linter that can be used to find code that will cause problems with Go's error wrapping scheme☆278Updated last week
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆25Updated last week
- Golang linter to check the errors handling expressions☆50Updated 4 years ago
- Go linter that checks if package imports are in a list of acceptable packages.☆158Updated 2 weeks ago
- 🚨 slog sampling: drop repetitive log records☆73Updated last month
- Check that no init functions are present in Go code.☆41Updated 3 years ago
- Golang linter to use strconv☆36Updated last week
- 🚔 Enforce field tags in (un)marshaled structs☆37Updated last week
- clear go error wrapping with caller☆49Updated last year
- Go linter that checks types that are json encoded - reports unsupported types and unnecessary error checks☆41Updated last week
- Magic number detector for Go.☆195Updated last year
- Linter that confirms DB rows and statements are closed properly.☆86Updated 4 months ago
- Golang linter that encourages you to use a separate _test package☆49Updated this week
- Go package for sets implemented with generics☆44Updated 2 years ago
- Linter that checks that comments end in a period☆46Updated last month
- Checks for a new line before return and branch statements.☆27Updated 11 months ago