Skip to content

Commit ad85cf1

Browse files
committed
lint
1 parent 5e7bb31 commit ad85cf1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ linters:
8484
enable:
8585
- megacheck
8686
- govet
87+
- exportloopref
8788
enable-all: false
8889
disable:
8990
- maligned
91+
- scopelint
9092
- prealloc
9193
- cyclop
9294
- funlen

unpack_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ func TestStringSetter(t *testing.T) {
135135
assert.Equalf(t, want, fmt.Sprintf("%+v", ge.Interface()), "got setting %s to '%s'", f.Name, value)
136136
}
137137
count++
138-
return
139138
})
140139
return true
141140
})

0 commit comments

Comments
 (0)