Find in Go repeated strings that could be replaced by a constant
☆320Jul 25, 2026Updated this week
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.☆666Feb 26, 2026Updated 4 months ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Find unused parameters in Go☆570Oct 27, 2025Updated 8 months 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.
- Calculate cyclomatic complexities of functions in Go source code.☆1,590Dec 27, 2025Updated 6 months 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
- ☆17Mar 12, 2019Updated 7 years ago
- Detect ineffectual assignments in Go code.☆469Aug 27, 2025Updated 10 months ago
- a tool for code clone detection☆368Mar 5, 2026Updated 4 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 3 months ago
- A linter that suggests interface types☆690Sep 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
- 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.
- errcheck checks that you checked errors.☆2,526May 12, 2026Updated 2 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- ☆118Apr 11, 2026Updated 3 months ago
- Report code that is unnecessarily indented☆18Aug 29, 2017Updated 8 years ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated 9 months ago
- ☆22Jan 16, 2026Updated 6 months ago
- dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.☆76Mar 29, 2024Updated 2 years ago
- noctx finds function calls without context.Context.☆226Mar 11, 2026Updated 4 months ago
- ☆11Sep 15, 2017Updated 8 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- Shotizam analyzes the size of Go binaries☆616Jul 14, 2024Updated 2 years ago
- Go Assembler Formatter☆310Apr 4, 2022Updated 4 years ago
- Staticcheck - The advanced Go linter☆6,838Jun 30, 2026Updated 3 weeks 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 linter that checks if package imports are in a list of acceptable packages.☆202Mar 6, 2025Updated last year
- Calculate cyclomatic complexities of functions in Go source code.☆31Jul 25, 2017Updated 9 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 libraries and programs for performing static checks on Go projects☆29Nov 24, 2019Updated 6 years ago
- Tool to detect range statements iterating over addressable arrays☆28Dec 6, 2017Updated 8 years ago
- Simple expiring cache☆15Mar 14, 2017Updated 9 years ago
- A parser for arbitarily-formatted dates/times.☆17Dec 27, 2017Updated 8 years ago
- Detect deeply nested if statements in Go source code☆44Feb 26, 2026Updated 5 months ago
- Check that no globals are present in Go code.☆132Feb 15, 2026Updated 5 months ago
- identypo is a Go static analysis tool to find typos in identifiers (functions, function calls, variables, constants, type declarations, p…☆28Sep 15, 2018Updated 7 years ago