Find in Go repeated strings that could be replaced by a constant
☆319May 27, 2026Updated last month
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☆388Feb 16, 2025Updated last year
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆665Feb 26, 2026Updated 4 months ago
- Magic number detector for Go.☆209Dec 21, 2023Updated 2 years ago
- Find unused parameters in Go☆571Oct 27, 2025Updated 8 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Calculate cyclomatic complexities of functions in Go source code.☆1,585Dec 27, 2025Updated 6 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.☆132Feb 1, 2026Updated 5 months ago
- a tool for code clone detection☆368Mar 5, 2026Updated 4 months ago
- Detect ineffectual assignments in Go code.☆472Aug 27, 2025Updated 10 months ago
- A linter to ensure that slices are not initialized with non-zero length☆79Apr 12, 2026Updated 2 months ago
- 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.☆538May 9, 2023Updated 3 years ago
- Flen provides stats on functions/methods lengths in a Golang package.☆50Mar 11, 2018Updated 8 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- errcheck checks that you checked errors.☆2,519May 12, 2026Updated last month
- ☆119Apr 11, 2026Updated 2 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- 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 8 months ago
- ☆23Jan 16, 2026Updated 5 months ago
- noctx finds function calls without context.Context.☆227Mar 11, 2026Updated 3 months ago
- ☆11Sep 15, 2017Updated 8 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.
- 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,826Updated this week
- Go Assembler Formatter☆311Apr 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☆54Oct 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
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Go linter that checks if package imports are in a list of acceptable packages.☆201Mar 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
- Simple expiring cache☆15Mar 14, 2017Updated 9 years ago
- Go linter for forbidding identifiers☆173Apr 12, 2026Updated 2 months ago
- Check that no globals are present in Go code.☆132Feb 15, 2026Updated 4 months ago
- Testy is an extensible facade around Go's core testing library☆73Nov 12, 2017Updated 8 years ago