Registry / utility / golangci-dupl

golangci-dupl

JSON →
library0.0.0-20260401084720-c99c5cf5c202gogounverified

Package dupl detects duplicate code in Go source files.

go get github.com/golangci/dupl
INSTALL
IMPORT
SIG · GOLANGCI-DUPL
G
golangci-dupl
utilitygov0.0.0-20260401084720-c99c5cf5c202
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.

dupl
github.com/golangci/dupl

Check for duplicate code in the current directory with a threshold of 50 tokens.

package main import ( "fmt" "github.com/golangci/dupl" ) func main() { issues, err := dupl.Check("./...", 50) fmt.Println(issues, err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20260401084720-c99c5cf5c202latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
golangci-dupl — go get golangci-dupl · libregistry