Golang linter that encourages you to use a separate _test package
☆51Apr 28, 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:
- Analyzer: checks whether err of sql.Rows is checked.☆18Oct 14, 2023Updated 2 years ago
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- A linter that handle directives into `go.mod`.☆17Dec 4, 2025Updated 4 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- A linter to ensure that slices are not initialized with non-zero length☆77Apr 12, 2026Updated 2 weeks ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- tenv detects environment variable not using t.Setenv☆24Jan 6, 2025Updated last year
- Linter checks that printf-like functions are named with `f` at the end.☆26Sep 2, 2025Updated 7 months ago
- Check that no globals are present in Go code.☆130Feb 15, 2026Updated 2 months ago
- linter to enforce consistent import aliases☆17Dec 26, 2024Updated last year
- Magic number detector for Go.☆207Dec 21, 2023Updated 2 years ago
- Go linter to detect erroneous multiplication of duration values☆48Oct 24, 2025Updated 6 months ago
- linter for copyright headers☆30Feb 10, 2026Updated 2 months ago
- ☆25Jan 21, 2022Updated 4 years ago
- Go analyzer checking that the length of a variable's name matches its usage scope☆22Aug 8, 2023Updated 2 years ago
- 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.
- Go linter that checks if package imports are in a list of acceptable packages.☆199Mar 6, 2025Updated last year
- ☆21Jan 16, 2026Updated 3 months ago
- ☆43Dec 16, 2024Updated last year
- Go linter for forbidding identifiers☆166Apr 12, 2026Updated 2 weeks ago
- Golang linter to use strconv☆44Nov 19, 2025Updated 5 months ago
- Go Linter: finds wasted assignment statements 🗑☆39Feb 23, 2026Updated 2 months ago
- ☆121Apr 11, 2026Updated 2 weeks ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 5 months ago
- golang linter to detect named returns☆29Updated this week
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Linter that confirms DB rows and statements are closed properly.☆92Mar 18, 2026Updated last month
- Analyzer: nilerr checks returning nil when err is not nil☆63Sep 28, 2025Updated 7 months ago
- golang analyzer that finds structures with uninitialized fields☆193Apr 22, 2026Updated last week
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆338Dec 5, 2024Updated last year
- Golang linter, lint pass any slice as any in variadic function☆19May 22, 2023Updated 2 years ago
- Golang linter to check the errors handling expressions☆68Sep 18, 2025Updated 7 months ago
- ␊ whitespace linter - Forces you to use empty lines!☆348Updated this week
- Drop in replacement for https://golang.org/pkg/text/tabwriter with additional features☆15Jan 3, 2024Updated 2 years ago
- Detect deeply nested if statements in Go source code☆44Feb 26, 2026Updated 2 months ago
- 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.
- Linter to check if your tests have been marked as parallel correctly☆60Oct 14, 2025Updated 6 months ago
- Analyzer: check whether a function uses a non-inherited context☆50Feb 28, 2025Updated last year
- ☆55Oct 16, 2024Updated last year
- c-binding free API for golang to communicate with the socket subsystem of netfilter☆12Mar 14, 2026Updated last month
- noctx finds function calls without context.Context.☆222Mar 11, 2026Updated last month
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆322Jan 29, 2026Updated 3 months ago
- Linux kernel images for router7☆13Updated this week