Find in Go repeated strings that could be replaced by a constant
☆317May 8, 2026Updated 2 weeks ago
Alternatives and similar repositories for goconst
Users that are interested in goconst are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Find in Go exported variables that could be unexported☆27Dec 29, 2015Updated 10 years ago
- Remove unnecessary type conversions from Go source☆387Feb 16, 2025Updated last year
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆665Feb 26, 2026Updated 3 months ago
- Magic number detector for Go.☆207Dec 21, 2023Updated 2 years ago
- Find unused parameters in Go☆572Oct 27, 2025Updated 6 months ago
- 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.
- Calculate cyclomatic complexities of functions in Go source code.☆1,571Dec 27, 2025Updated 4 months ago
- ☆17Mar 12, 2019Updated 7 years ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆133Feb 1, 2026Updated 3 months ago
- Detect ineffectual assignments in Go code.☆464Aug 27, 2025Updated 9 months ago
- a tool for code clone detection☆368Mar 5, 2026Updated 2 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated last month
- A linter that suggests interface types☆689Sep 1, 2018Updated 7 years ago
- Tool to detect Go structs that would take less memory if their fields were sorted.☆535May 9, 2023Updated 3 years ago
- Flen provides stats on functions/methods lengths in a Golang package.☆50Mar 11, 2018Updated 8 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- errcheck checks that you checked errors.☆2,496May 12, 2026Updated 2 weeks ago
- ☆121Apr 11, 2026Updated last month
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated last year
- Report code that is unnecessarily indented☆18Aug 29, 2017Updated 8 years ago
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆75Mar 29, 2024Updated 2 years ago
- Go linter to detect erroneous multiplication of duration values☆48Oct 24, 2025Updated 7 months ago
- ☆22Jan 16, 2026Updated 4 months ago
- noctx finds function calls without context.Context.☆224Mar 11, 2026Updated 2 months ago
- ☆11Sep 15, 2017Updated 8 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- Shotizam analyzes the size of Go binaries☆615Jul 14, 2024Updated last year
- Staticcheck - The advanced Go linter☆6,793Apr 24, 2026Updated last month
- Go Assembler Formatter☆310Apr 4, 2022Updated 4 years ago
- ☆392Sep 15, 2017Updated 8 years ago
- ☆341Sep 15, 2017Updated 8 years ago
- Standalone repo of deadcode package from http://github.com/remyoudompheng/go-misc☆53Oct 28, 2018Updated 7 years ago
- Go libraries and programs for performing static checks on Go projects☆29Nov 24, 2019Updated 6 years ago
- A parser for arbitarily-formatted dates/times.☆17Dec 27, 2017Updated 8 years ago
- 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.
- Go linter that checks if package imports are in a list of acceptable packages.☆200Mar 6, 2025Updated last year
- Tool to detect range statements iterating over addressable arrays☆28Dec 6, 2017Updated 8 years ago
- Calculate cyclomatic complexities of functions in Go source code.☆31Jul 25, 2017Updated 8 years ago
- Go linter for forbidding identifiers☆168Apr 12, 2026Updated last month
- Simple expiring cache☆15Mar 14, 2017Updated 9 years ago
- Check that no globals are present in Go code.☆130Feb 15, 2026Updated 3 months ago
- Testy is an extensible facade around Go's core testing library☆73Nov 12, 2017Updated 8 years ago