Go linter that checks if package imports are in a list of acceptable packages.
☆201Mar 6, 2025Updated last year
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☆181Apr 12, 2026Updated 4 months ago
- Golang linter to check the errors handling expressions☆75Jul 20, 2026Updated last month
- linter for copyright headers☆31Aug 8, 2026Updated 3 weeks ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated 10 months ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 7 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- A Go linter to check that errors from external packages are wrapped☆373Nov 24, 2025Updated 9 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 4 months ago
- golang linter to detect named returns☆29Aug 14, 2026Updated 2 weeks ago
- golang analyzer that finds structures with uninitialized fields☆205Updated this week
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- ☆45Dec 16, 2024Updated last year
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 6 months ago
- Golang linter that encourages you to use a separate _test package☆51Aug 24, 2026Updated 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`.☆26Aug 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.
- Find unused parameters in Go☆572Aug 23, 2026Updated last week
- ☆118Apr 11, 2026Updated 4 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 7 months ago
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆85Aug 1, 2026Updated 3 weeks ago
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 5 months ago
- Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)☆489Feb 24, 2026Updated 6 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆313Nov 1, 2025Updated 9 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- A linter that handle directives into `go.mod`.☆18Aug 2, 2026Updated 3 weeks ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Accept Interfaces, Return Concrete Types☆87Aug 23, 2026Updated last week
- Analyzer: checks whether err of sql.Rows is checked.☆17Oct 14, 2023Updated 2 years ago
- ☆22Jan 16, 2026Updated 7 months ago
- ␊ whitespace linter - Forces you to use empty lines!☆360Updated this week
- Linter that confirms DB rows and statements are closed properly.☆91Mar 18, 2026Updated 5 months ago
- Golang linter to use strconv☆47Nov 19, 2025Updated 9 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jul 23, 2026Updated last month
- Go Linter: finds wasted assignment statements 🗑☆38Feb 23, 2026Updated 6 months ago
- noctx finds function calls without context.Context.☆232Mar 11, 2026Updated 5 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.
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆345Dec 5, 2024Updated last year
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- GoDoX extract speficic comments from Go code based on keywords☆19Jan 28, 2025Updated last year
- GCI, a tool that control golang package import order and make it always deterministic.☆574Mar 16, 2026Updated 5 months ago
- Analyzer: check whether a function uses a non-inherited context☆51May 22, 2026Updated 3 months ago
- Remove unnecessary type conversions from Go source☆387Aug 16, 2026Updated 2 weeks ago
- Linter checks that printf-like functions are named with `f` at the end.☆25Aug 1, 2026Updated 3 weeks ago