Go linter that checks if package imports are in a list of acceptable packages.
☆204Oct 27, 2026Updated this week
Alternatives and similar repositories for depguard
Users that are interested in depguard 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 for forbidding identifiers☆184Apr 12, 2026Updated 6 months ago
- ☆46Dec 16, 2024Updated last year
- golang analyzer that finds structures with uninitialized fields☆211Sep 4, 2026Updated last month
- Golang linter to check the errors handling expressions☆76Jul 20, 2026Updated 3 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 6 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 9 months ago
- Golang linter that encourages you to use a separate _test package☆51Updated this week
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 11 months ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 8 months ago
- linter for copyright headers☆31Oct 1, 2026Updated 3 weeks ago
- A Go linter to check that errors from external packages are wrapped☆373Oct 15, 2026Updated 2 weeks ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated last year
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆88Oct 1, 2026Updated 3 weeks 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.
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆499Oct 6, 2026Updated 3 weeks ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 8 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 3 weeks ago
- golang linter to detect named returns☆29Oct 17, 2026Updated 2 weeks ago
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- Check that expression switches and type switches in Go source code are exhaustive.☆350Updated this week
- Find unused parameters in Go☆572Oct 11, 2026Updated 2 weeks ago
- ␊ whitespace linter - Forces you to use empty lines!☆366Oct 16, 2026Updated 2 weeks ago
- noctx finds function calls without context.Context.☆233Mar 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.
- ☆118Apr 11, 2026Updated 6 months ago
- ☆56Oct 16, 2024Updated 2 years ago
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 7 months ago
- Golang linter checks for receiver type consistency☆16Updated this week
- Golang linter to use strconv☆46Sep 29, 2026Updated last month
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Sep 23, 2026Updated last month
- GoLang architecture linter (checker) tool. Will check all project import path and compare with arch rules defined in yml file. Useful for…☆618Updated this week
- Analyzer: check whether a function uses a non-inherited context☆51May 22, 2026Updated 5 months ago
- Accept Interfaces, Return Concrete Types