package
0.0.18
Repository: https://github.com/ngicks/go-iterator-helper.git
Documentation: pkg.go.dev

# Functions

Concat returns an iterator over the concatenation of the sequences.
Concat2 returns an iterator over the concatenation of the sequences.
Equal reports whether the two sequences are equal.
Equal2 reports whether the two sequences are equal.
EqualFunc reports whether the two sequences are equal according to the function f.
EqualFunc2 reports whether the two sequences are equal according to the function f.
Filter returns an iterator over seq that only includes the values v for which f(v) is true.
Filter2 returns an iterator over seq that only includes the pairs k, v for which f(k, v) is true.
Limit returns an iterator over seq that stops after n values.
Limit2 returns an iterator over seq that stops after n key-value pairs.
Map returns an iterator over f applied to seq.
Map2 returns an iterator over f applied to seq.
Merge merges two sequences of ordered values.
Merge2 merges two sequences of key-value pairs ordered by their keys.
MergeFunc merges two sequences of values ordered by the function f.
MergeFunc2 merges two sequences of key-value pairs ordered by the function f.
Reduce combines the values in seq using f.
Reduce2 combines the values in seq using f.
Zip returns an iterator that iterates x and y in parallel, yielding Zipped values of successive elements of x and y.
Zip2 returns an iterator that iterates x and y in parallel, yielding Zipped2 values of successive elements of x and y.

# Structs

A Zipped is a pair of zipped values, one of which may be missing, drawn from two different sequences.
A Zipped2 is a pair of zipped key-value pairs, one of which may be missing, drawn from two different sequences.