Skip to content

Commit

Permalink
minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kenegozi authored and kenegozi committed Jun 21, 2016
1 parent e062e7c commit faa6df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ type Ints []int


func main() { func main() {
var s Ints = []int{1, 2, 3, 4, 5, 6, 7, 8, 9} var s Ints = []int{1, 2, 3, 4, 5, 6, 7, 8, 9}
evens := s.Where(func(val int) bool { return i%2 == 0 }) evens := s.Where(func(val int) bool { return val%2 == 0 })
fmt.Printf("Evens: %+v\n", evens) fmt.Printf("Evens: %+v\n", evens)
} }
``` ```
Expand Down

0 comments on commit faa6df9

Please sign in to comment.