Golang linter that encourages you to use a separate _test package
☆51Aug 6, 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.☆43Apr 16, 2021Updated 5 years ago
- Analyzer: checks whether err of sql.Rows is checked.☆17Oct 14, 2023Updated 2 years ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 3 months ago
- Check that no globals are present in Go code.☆133Feb 15, 2026Updated 5 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Linter checks that printf-like functions are named with `f` at the end.☆25Aug 1, 2026Updated last week
- linter for copyright headers☆31Updated this week
- linter to enforce consistent import aliases☆18Dec 26, 2024Updated last year
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 4 months ago
- Go linter that checks if package imports are in a list of acceptable packages.☆202Mar 6, 2025Updated last year
- A linter that handle directives into `go.mod`.☆18Aug 2, 2026Updated last week
- Find unused parameters in Go☆570Updated this week
- tenv detects environment variable not using t.Setenv☆24Jan 6, 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.
- Go linter for forbidding identifiers☆175Apr 12, 2026Updated 3 months ago
- ☆25Jan 21, 2022Updated 4 years ago
- ☆44Dec 16, 2024Updated last year
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 9 months ago
- Go analyzer checking that the length of a variable's name matches its usage scope☆22Aug 8, 2023Updated 3 years ago
- ☆118Apr 11, 2026Updated 3 months ago
- Analyzer: nilerr checks returning nil when err is not nil☆63Sep 28, 2025Updated 10 months ago
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆345Dec 5, 2024Updated last year
- ☆22Jan 16, 2026Updated 6 months 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.
- Golang linter to use strconv☆47Nov 19, 2025Updated 8 months ago
- Golang linter to check the errors handling expressions☆75Jul 20, 2026Updated 3 weeks ago
- golang analyzer that finds structures with uninitialized fields☆201Updated this week
- Linter that confirms DB rows and statements are closed properly.☆91Mar 18, 2026Updated 4 months ago
- golang linter to detect named returns☆29Jul 17, 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 6 months ago
- noctx finds function calls without context.Context.☆229Mar 11, 2026Updated 4 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jul 23, 2026Updated 2 weeks ago
- ␊ whitespace linter - Forces you to use empty lines!☆359Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Detect deeply nested if statements in Go source code☆44Feb 26, 2026Updated 5 months ago
- Linter to check if your tests have been marked as parallel correctly☆59Oct 14, 2025Updated 9 months ago
- Remove unnecessary type conversions from Go source☆387Feb 16, 2025Updated last year
- Soft Mocks analogue for Golang☆14Jun 28, 2022Updated 4 years ago
- A Go linter to check that errors from external packages are wrapped☆372Nov 24, 2025Updated 8 months ago
- Analyzer: check whether a function uses a non-inherited context☆51May 22, 2026Updated 2 months ago
- Golang linter, lint pass any slice as any in variadic function☆19May 22, 2023Updated 3 years ago