Skip to content

Commit af0d4fd

Browse files
committed
Fix lints with new golangci-lint
1 parent a98fe70 commit af0d4fd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

decoder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const (
3030
_Slice
3131
// We don't use the next two. They are placeholders. See the spec
3232
// for more details.
33-
_Container //nolint: deadcode, varcheck // above
34-
_Marker //nolint: deadcode, varcheck // above
33+
_Container //nolint:deadcode,varcheck // above
34+
_Marker //nolint:deadcode,varcheck // above
3535
_Bool
3636
_Float32
3737
)

traverse.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ package maxminddb
22

33
import (
44
"fmt"
5-
"net/netip"
6-
75
"iter"
6+
"net/netip"
87
)
98

109
// Internal structure used to keep track of nodes we still need to visit.

0 commit comments

Comments
 (0)