Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Git rid of tabs in README.md

  • Loading branch information...
commit 5767d08bed06c7f6416b95fb76d9b9b5344d66d0 1 parent 1d418dd
@keep94 authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -45,15 +45,15 @@ To get the 4th page of 25 people do:
s = functional.Slice(s, 3 * 25, 4 * 25)
var person Person
err := s.Next(&person)
- for ; err == nil; err = s.Next(&person) {
- // Display person here
- }
+ for ; err == nil; err = s.Next(&person) {
+ // Display person here
+ }
if err != functional.Done {
// Do error handling here
s.Close()
}
- }
+ }
Like python iterators and generators, Stream types are lazily evaluated, so
the above code will read only the first 100 names no matter how many people
Please sign in to comment.
Something went wrong with that request. Please try again.