nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.
☆132Feb 1, 2026Updated 9 months ago
Alternatives and similar repositories for nakedret
Users that are interested in nakedret are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated last year
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆666Feb 26, 2026Updated 8 months ago
- Check that no init functions are present in Go code.☆42Apr 16, 2021Updated 5 years ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- identypo is a Go static analysis tool to find typos in identifiers (functions, function calls, variables, constants, type declarations, p…☆28Sep 15, 2018Updated 8 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 8 months ago
- ☆56Oct 16, 2024Updated 2 years ago
- ☆46Dec 16, 2024Updated last year
- Detect ineffectual assignments in Go code.☆470Aug 27, 2025Updated last year
- ☆118Apr 11, 2026Updated 6 months ago
- Go linter for forbidding identifiers☆186Apr 12, 2026Updated 6 months ago
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆76Mar 29, 2024Updated 2 years ago
- ☆23Sep 25, 2026Updated last month
- Find in Go repeated strings that could be replaced by a constant☆320Jul 29, 2026Updated 3 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Sep 23, 2026Updated last month
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 6 months ago
- Find declarations that shadow any of Go's predeclared identifiers☆31Oct 30, 2026Updated last week
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 9 months ago
- Find unused parameters in Go☆572Updated this week
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆37Oct 30, 2025Updated last year
- unimport is a Go static analysis tool to find unnecessary import aliases.☆71Nov 6, 2017Updated 9 years ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- Report code that is unnecessarily indented☆19Aug 29, 2017Updated 9 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Go linter that checks if package imports are in a list of acceptable packages.☆208Updated this week
- Golang linter that encourages you to use a separate _test package☆51Oct 26, 2026Updated last week
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated last year
- Checks for a new line before return and branch statements.☆28Apr 4, 2024Updated 2 years ago
- Go Linter: finds wasted assignment statements 🗑☆38Feb 23, 2026Updated 8 months ago
- A Go linter to check that errors from external packages are wrapped☆373Oct 15, 2026Updated 3 weeks ago
- Remove unnecessary type conversions from Go source☆388Oct 20, 2026Updated 2 weeks ago
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆501Oct 6, 2026Updated last month
- noctx finds function calls without context.Context.☆232Mar 11, 2026Updated 7 months 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.
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 7 months ago
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.☆25Oct 1, 2026Updated last month
- Detect deeply nested if statements in Go source code☆45Feb 26, 2026Updated 8 months ago
- Tool to detect range statements iterating over addressable arrays☆27Dec 6, 2017Updated 8 years ago
- nargs is a Go static analysis tool to find unused arguments in function declarations.☆86May 15, 2025Updated last year
- A linter that handle directives into `go.mod`.☆18Updated this week
- A linter for logr,klog,zap that can also works with golangci-lint as a plugin☆16Oct 19, 2026Updated 2 weeks ago