Skip to content

Commit 8bbc4f9

Browse files
committed
go fixed at language level the need for exportloopref (iterable item via pointer)
1 parent 247c61d commit 8bbc4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ linters:
1616
- unused # everything below this is in addition to enabled-by-default
1717

1818
- goimports
19-
- exportloopref # successor of "scopelint"
19+
- copyloopvar
2020
- exhaustive
2121
- unconvert
2222
- unparam

0 commit comments

Comments
 (0)