package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jul 3, 2016
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
See http://godoc.org/github.com/bradfitz/iter
Documentation
¶
Package iter provides a syntantically different way to iterate over integers. That's it.
N returns a slice of n 0-sized elements, suitable for ranging over.
For example:
for i := range iter.N(10) {
fmt.Println(i)
}
... will print 0 to 9, inclusive.
It does not cause any allocations.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.