Documentation
¶
Index ¶
- func Each[K comparable, V any, F ~func(K, V)](seq iter.Seq2[K, V], f F)
- func Iterator[M ~map[K]V, K comparable, V any](m M) iter.Seq2[K, V]
- func Join[K comparable, V any](iters ...iter.Seq2[K, V]) iter.Seq2[K, V]
- func Keys[M ~map[K]V, K comparable, V any](m M) iter.Seq[K]
- func Values[M ~map[K]V, K comparable, V any](m M) iter.Seq[V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Each ¶
func Each[K comparable, V any, F ~func(K, V)](seq iter.Seq2[K, V], f F)
Each iterates over iter.Seq2[K, V] and applies F to each key and value.
func Iterator ¶
func Iterator[M ~map[K]V, K comparable, V any](m M) iter.Seq2[K, V]
Iterator creates iter.Seq2[K, V] from any map[K]V.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.