package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Mar 31, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package iterable provides an Iterable type that is capable of converting
sequences of empty interface such as slice and channel to an Iterator.
type Iterable <-chan interface{}
Iterable converts channel and slice into an Iterator.
New creates a new Iterable from a slice or a channel of empty interface.
Next returns the next element in an Iterable sequence and an
error when it reaches the end. Next registers Iterable to Iterator.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.