Registry / utility / jgautheron-goconst

jgautheron-goconst

JSON →
library1.10.2gogounverified

A Go linter that finds repeated strings that could be replaced by a constant, promoting code maintainability.

go get github.com/jgautheron/goconst
INSTALL
IMPORT
SIG · JGAUTHERON-GOCONST
J
jgautheron-goconst
utilitygov1.10.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goconst
github.com/jgautheron/goconst

Runs the goconst linter as a standalone tool.

package main import ( "github.com/jgautheron/goconst" "golang.org/x/tools/go/analysis/singlechecker" ) func main() { singlechecker.Main(goconst.Analyzer) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.10.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jgautheron-goconst — go get jgautheron-goconst · libregistry