ashanbrown / makezero
A linter to ensure that slices are not initialized with non-zero length
☆75Updated 4 months ago
Alternatives and similar repositories for makezero
Users that are interested in makezero are comparing it to the libraries listed below
Sorting:
- Check that no globals are present in Go code.☆113Updated this week
- Accept Interfaces, Return Concrete Types☆69Updated 3 weeks ago
- Go linter for forbidding identifiers☆140Updated 4 months ago
- Go linter to detect erroneous multiplication of duration values☆47Updated last year
- ☆53Updated 7 months ago
- Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.☆118Updated 2 weeks ago
- ☆121Updated 11 months ago
- A linter that handles struct tags.☆54Updated last month
- Allow and block list linter for direct Go module dependencies.☆75Updated 3 weeks ago
- An analyzer that checks for pointers to enclosing loop variables.☆38Updated last year
- Golang linter to check the errors handling expressions☆52Updated 4 years ago
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆66Updated 3 weeks ago
- Ordered map☆102Updated this 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 3 weeks ago
- 🚔 Enforce field tags in (un)marshaled structs☆38Updated 2 weeks ago
- Check that no init functions are present in Go code.☆41Updated 4 years ago
- Go linter that checks types that are json encoded - reports unsupported types and unnecessary error checks☆41Updated last week
- 🚨 slog sampling: drop repetitive log records☆82Updated 3 weeks ago
- Go linter that checks if package imports are in a list of acceptable packages.☆164Updated 2 months ago
- Linter that confirms DB rows and statements are closed properly.☆89Updated last week
- Magic number detector for Go.☆197Updated last year
- clear go error wrapping with caller☆51Updated last year
- Analyzer: check whether a function uses a non-inherited context☆48Updated 3 months ago
- A source code linter that can be used to find code that will cause problems with Go's error wrapping scheme☆292Updated 3 weeks ago
- 🪵 Ensure consistent code style when using log/slog☆195Updated 2 weeks ago
- noctx finds function calls without context.Context.☆194Updated 3 weeks ago
- Optional values for Go☆103Updated 5 months ago
- Golang linter that encourages you to use a separate _test package☆50Updated 3 weeks ago
- A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple …☆72Updated 4 months ago
- golang linter to detect named returns☆28Updated 2 weeks ago