mirror of
https://github.com/samber/lo.git
synced 2025-10-04 23:52:41 +08:00
lint: enable gofumpt extra rules (#690)
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
This commit is contained in:
@@ -42,7 +42,7 @@ func ExampleMap() {
|
||||
func ExampleMapI() {
|
||||
list := []int{1, 2, 3, 4}
|
||||
|
||||
MapI(list, func(nbr int, index int) int {
|
||||
MapI(list, func(nbr, index int) int {
|
||||
return nbr * index
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user