Skip to content

Commit

Permalink
moq: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ucirello committed Dec 11, 2024
1 parent bbaf312 commit dcaa611
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ linters:
- dupword
- errname
- errorlint
- exportloopref
- gochecknoinits
- godot
- gofmt
Expand Down
7 changes: 0 additions & 7 deletions internal/registry/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dcaa611

Please sign in to comment.