Golang linter that encourages you to use a separate _test package
☆51Nov 13, 2026Updated this week
Alternatives and similar repositories for testpackage
Users that are interested in testpackage are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check that no init functions are present in Go code.☆42Apr 16, 2021Updated 5 years ago
- Analyzer: checks whether err of sql.Rows is checked.☆17Oct 14, 2023Updated 3 years ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 7 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- ☆46Dec 16, 2024Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 9 months ago
- A linter that handle directives into `go.mod`.☆18Nov 1, 2026Updated 2 weeks ago
- linter for copyright headers☆31Nov 2, 2026Updated 2 weeks ago
- linter to enforce consistent import aliases☆18Dec 26, 2024Updated last year
- Magic number detector for Go.☆210Dec 21, 2023Updated 2 years ago
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 7 months ago
- Linter checks that printf-like functions are named with `f` at the end.☆25Nov 1, 2026Updated 2 weeks ago
- tenv detects environment variable not using t.Setenv☆24Jan 6, 2025Updated last year
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated last year
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- ☆56Oct 16, 2024Updated 2 years ago
- Go linter that checks if package imports are in a list of acceptable packages.☆210Nov 2, 2026Updated 2 weeks ago
- Find unused parameters in Go☆579Nov 2, 2026Updated 2 weeks ago
- golang linter to detect named returns☆29Nov 9, 2026Updated last week
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated last year
- Golang linter to use strconv☆46Sep 29, 2026Updated last month
- Go linter for forbidding identifiers☆187Apr 12, 2026Updated 7 months ago
- ☆23Sep 25, 2026Updated last month
- 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
- 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.
- Golang linter checking the canonicality of the http header☆12Oct 19, 2026Updated last month
- ␊ whitespace linter - Forces you to use empty lines!☆367Updated this week
- noctx finds function calls without context.Context.☆232Mar 11, 2026Updated 8 months ago
- A linter for logr,klog,zap that can also works with golangci-lint as a plugin☆16Oct 19, 2026Updated last month
- ☆118Apr 11, 2026Updated 7 months ago
- ☆25Jan 21, 2022Updated 4 years ago
- Analyzer: nilerr checks returning nil when err is not nil☆65Sep 28, 2025Updated last year
- Checks for a new line before return and branch statements.☆28Apr 4, 2024Updated 2 years ago
- intrange is a program for checking for loops that could use the Go 1.22 integer range feature.☆37Oct 30, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- golang analyzer that finds structures with uninitialized fields☆213Sep 4, 2026Updated 2 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
- Check that expression switches and type switches in Go source code are exhaustive.☆351Oct 31, 2026Updated 2 weeks ago
- Golang linter to check the errors handling expressions☆78Jul 20, 2026Updated 3 months ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 10 months ago
- Go analyzer checking that the length of a variable's name matches its usage scope☆23Aug 8, 2023Updated 3 years ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆326Nov 7, 2026Updated last week
Are these results useful?