Skip to content
devhub.
ExploreCompareSaved
Sign in
DevHubBuilt for curious developers. Data from GitHub.
Back to repositories
Public repository / jgautheron

goconst

Find in Go repeated strings that could be replaced by a constant

View on GitHub
319Stars
20Forks
1Open issues
8Subscribers

Language distribution

Share of source bytes reported by GitHub

Go97%
Shell3%

Recent activity

Latest commits on the default branch

✨ add ignore-map-keys option to skip string map keys (#66)jgautheron · Jul 25, 2026fix(api): use exact constant keys for duplicates (#64)jgautheron · May 27, 2026feat(cli): add ignore-composite-literals flag (#61)TobyTheHutt · May 27, 2026fix(compat): tighten assertion and add numbers/ignore-functions test (#60)jgautheron · May 8, 2026test(compat): rewrite golangci-lint integration tests to simulate full pipeline (#59)jgautheron · May 6, 2026fix(api): scope occurrence counts, constants, and duplicates by test/non-test (#58)jgautheron · May 6, 2026feat: add -ignore-calls to ignore strings in specific function calls (#56)jgautheron · Apr 3, 2026docs: clarify detection scope in README (#55)jgautheron · Apr 3, 2026test: add comprehensive test coverage for untested code paths (#54)jgautheron · Apr 3, 2026Report one issue per file instead of one per string (#53)shields · Apr 2, 2026

Project details

Created Dec 2015 Updated Jul 2026 MIT License
golinter

Contributors

8
jgautheron's avatarjgautheron29 commitsericcornelissen's avatarericcornelissen4 commitsTobyTheHutt's avatarTobyTheHutt4 commitskalexmills's avatarkalexmills2 commitsldez's avatarldez2 commitsiwankgb's avatariwankgb2 commitsalexandear's avataralexandear2 commitsthetorpedodog's avatar
thetorpedodog
2 commits