Skip to content

Commit

Permalink
Fixing README usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
marstr committed May 16, 2017
1 parent fa4eac3 commit 165abaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Inspired by .NET's Linq, querying data structures used in this library is a snap
### Slices
Converting between slices and a queryable structure is as trivial as it should be.
``` Go
subject := []string{"a", "b", "c"}
subject := []interface{}{"a", "b", "c"}

for entry := range collection.AsEnumerator(subject...) {
fmt.Println(entry)
Expand Down

0 comments on commit 165abaa

Please sign in to comment.