Golang linter that encourages you to use a separate _test package
☆51Updated this week
Alternatives and similar repositories for testpackage
Users that are interested in testpackage are comparing it to the libraries listed below
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 4 years ago
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 4 months ago
- Go analyzer checking that the length of a variable's name matches its usage scope☆22Aug 8, 2023Updated 2 years ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- linter to enforce consistent import aliases☆17Dec 26, 2024Updated last year
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Check that no globals are present in Go code.☆129Feb 15, 2026Updated 2 weeks ago
- A linter that handle directives into `go.mod`.☆16Dec 4, 2025Updated 2 months ago
- 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 5 months ago
- Go linter to detect erroneous multiplication of duration values☆49Oct 24, 2025Updated 4 months ago
- Linter to check if your tests have been marked as parallel correctly☆61Oct 14, 2025Updated 4 months ago
- ☆26Jan 21, 2022Updated 4 years ago
- Golang linter to use strconv☆43Nov 19, 2025Updated 3 months ago
- Golang linter, lint pass any slice as any in variadic function☆19May 22, 2023Updated 2 years ago
- Drop in replacement for https://golang.org/pkg/text/tabwriter with additional features☆15Jan 3, 2024Updated 2 years ago
- Find unused parameters in Go☆568Oct 27, 2025Updated 4 months ago
- Linter that checks that comments end in a period☆48Oct 18, 2025Updated 4 months ago
- ☆43Dec 16, 2024Updated last year
- golang linter to detect named returns☆29Updated this week
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 4 months ago
- Go linter for forbidding identifiers☆160Oct 25, 2025Updated 4 months ago
- linter for copyright headers☆30Feb 10, 2026Updated 2 weeks ago
- ␊ whitespace linter - Forces you to use empty lines!☆344Feb 14, 2026Updated 2 weeks ago
- ☆21Jan 16, 2026Updated last month
- Analyzer: check whether a function uses a non-inherited context☆49Feb 28, 2025Updated last year
- ☆121Dec 26, 2025Updated 2 months ago
- golang analyzer that finds structures with uninitialized fields☆186Jan 9, 2026Updated last month
- Go linter that checks if package imports are in a list of acceptable packages.☆197Mar 6, 2025Updated 11 months ago
- containedctx is a linter that detects struct contained context.Context field☆21Apr 2, 2025Updated 10 months ago
- Check exhaustiveness of switch statements of enum-like constants in Go source code.☆336Dec 5, 2024Updated last year
- ☆55Oct 16, 2024Updated last year
- Linter that confirms DB rows and statements are closed properly.☆91May 19, 2025Updated 9 months ago
- Golang linter to check the errors handling expressions☆67Sep 18, 2025Updated 5 months ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated last month
- Go Linter: finds wasted assignment statements 🗑☆39Updated this week
- Step definitions to test HTTP clients/servers with godog☆12Dec 2, 2025Updated 2 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jan 29, 2026Updated last month