Find in Go repeated strings that could be replaced by a constant
☆320Jul 29, 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☆388Aug 16, 2026Updated last month
- prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.☆665Feb 26, 2026Updated 6 months ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Find unused parameters in Go☆572Aug 23, 2026Updated last month
- 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.
- Calculate cyclomatic complexities of functions in Go source code.☆1,610Dec 27, 2025Updated 8 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 7 months ago
- ☆17Mar 12, 2019Updated 7 years ago
- Detect ineffectual assignments in Go code.☆470Aug 27, 2025Updated last year
- a tool for code clone detection☆370Mar 5, 2026Updated 6 months ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 5 months ago
- A linter that suggests interface types☆690Sep 1, 2018Updated 8 years ago
- Tool to detect Go structs that would take less memory if their fields were sorted.☆537May 9, 2023Updated 3 years ago
- Flen provides stats on functions/methods lengths in a Golang package.☆50Aug 27, 2026Updated 3 weeks 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,528May 12, 2026Updated 4 months ago
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- ☆118Apr 11, 2026Updated 5 months ago
- Report code that is unnecessarily indented☆18Aug 29, 2017Updated 9 years ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated 11 months ago
- ☆23Jan 16, 2026Updated 8 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.☆233Mar 11, 2026Updated 6 months ago
- ☆11Sep 15, 2017Updated 9 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Check that no init functions are present in Go code.☆43Apr 16, 2021Updated 5 years ago
- Shotizam analyzes the size of Go binaries☆612Jul 14, 2024Updated 2 years ago
- Go Assembler Formatter☆318Apr 4, 2022Updated 4 years ago
- Staticcheck - The advanced Go linter☆6,903Aug 24, 2026Updated last month
- ☆392Sep 15, 2017Updated 9 years ago
- ☆341Sep 15, 2017Updated 9 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.☆202Updated this week
- Calculate cyclomatic complexities of functions in Go source code.☆31Jul 25, 2017Updated 9 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 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☆27Dec 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☆45Feb 26, 2026Updated 6 months ago
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 7 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 8 years ago