diff --git a/.golangci.yml b/.golangci.yml index e66ba20..b7d7f2e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,7 +15,6 @@ linters: - dupword - errname - errorlint - - exportloopref - gochecknoinits - godot - gofmt diff --git a/internal/registry/package.go b/internal/registry/package.go index 3768242..760ff22 100644 --- a/internal/registry/package.go +++ b/internal/registry/package.go @@ -78,13 +78,6 @@ func stripVendorPath(p string) string { return strings.TrimLeft(path.Join(parts[1:]...), "/") } -func min(a, b int) int { - if a < b { - return a - } - return b -} - func reverse(a []string) { for i := len(a)/2 - 1; i >= 0; i-- { opp := len(a) - 1 - i