Skip to content

Commit a401794

Browse files
committed
Fix typo in README
1 parent b9cff70 commit a401794

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ func main() {
6565
input := []int{1, 2, 3, 4, 5}
6666
var output []int
6767

68-
godash.Filter(input, &output, func(el int) bool {
69-
return bool % 2 == 0
68+
godash.Filter(input, &output, func(element int) bool {
69+
return element % 2 == 0
7070
})
7171

7272
fmt.Println(output) // prints 2 4
@@ -85,6 +85,6 @@ func main() {
8585
return person.Age > 25
8686
})
8787

88-
fmt.Println(output) // prints {John 20}
88+
fmt.Println(output) // prints {Doe 30}
8989
}
9090
```

0 commit comments

Comments
 (0)