Find in Go repeated strings that could be replaced by a constant
☆314May 22, 2025Updated 9 months ago
Alternatives and similar repositories for goconst
Users that are interested in goconst are comparing it to the libraries listed below
Sorting:
- Find in Go exported variables that could be unexported☆27Dec 29, 2015Updated 10 years ago
- Remove unnecessary type conversions from Go source☆388Feb 16, 2025Updated last year
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆664Feb 26, 2026Updated last week
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- ☆17Mar 12, 2019Updated 6 years ago
- Find unused parameters in Go☆568Oct 27, 2025Updated 4 months ago
- Calculate cyclomatic complexities of functions in Go source code.☆1,541Dec 27, 2025Updated 2 months ago
- a tool for code clone detection☆366Mar 20, 2024Updated last year
- A linter that suggests interface types☆687Sep 1, 2018Updated 7 years ago
- Flen provides stats on functions/methods lengths in a Golang package.☆51Mar 11, 2018Updated 7 years ago
- Detect ineffectual assignments in Go code.☆455Aug 27, 2025Updated 6 months ago
- Tool to detect Go structs that would take less memory if their fields were sorted.☆535May 9, 2023Updated 2 years ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated last month
- errcheck checks that you checked errors.☆2,473Feb 26, 2026Updated last week
- ☆121Dec 26, 2025Updated 2 months ago
- ☆393Sep 15, 2017Updated 8 years ago
- Shotizam analyzes the size of Go binaries☆614Jul 14, 2024Updated last year
- Go Assembler Formatter☆305Apr 4, 2022Updated 3 years ago
- Go libraries and programs for performing static checks on Go projects☆29Nov 24, 2019Updated 6 years ago
- A linter to ensure that slices are not initialized with non-zero length☆79Oct 25, 2025Updated 4 months ago
- ☆229Sep 15, 2017Updated 8 years ago
- ☆341Sep 15, 2017Updated 8 years ago
- noctx finds function calls without context.Context.☆219Feb 27, 2026Updated last week
- Report code that is unnecessarily indented☆18Aug 29, 2017Updated 8 years ago
- A parser for arbitarily-formatted dates/times.☆17Dec 27, 2017Updated 8 years ago
- Staticcheck - The advanced Go linter☆6,729Feb 25, 2026Updated last week
- Standalone repo of deadcode package from http://github.com/remyoudompheng/go-misc☆53Oct 28, 2018Updated 7 years ago
- Go tool to walk & rewrite AST☆172Dec 7, 2019Updated 6 years ago
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆73Mar 29, 2024Updated last year
- ☆11Sep 15, 2017Updated 8 years ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated 4 months ago
- Various Go utility packages.☆37May 3, 2018Updated 7 years ago
- Define and run pattern-based custom linting rules.☆863Sep 25, 2025Updated 5 months ago
- A Go implementation of Git functions☆346Jan 16, 2018Updated 8 years ago
- ipcipher implementation in Go☆17Dec 19, 2023Updated 2 years ago
- Source code analyzer that helps you to make your Go programs more consistent.☆363May 29, 2025Updated 9 months ago
- 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint☆5,403Updated this week
- A Go linter to check that errors from external packages are wrapped☆359Nov 24, 2025Updated 3 months ago
- A stricter gofmt☆3,868Feb 18, 2026Updated 2 weeks ago