Documentation ¶
Overview ¶
Package kv provides key/value types, functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator[K, V any] interface { // Next returns the next key/value pair. // The ok result indicates whether the element was returned by the iterator. // If ok == false, then the iteration must be completed. Next() (key K, value V, ok bool, err error) c.Track[K, V] }
Iterator provides iterate over key/value pairs, where an iteration can be interrupted by an error
Directories ¶
Path | Synopsis |
---|---|
Package loop provides helpers for loop operation over key/value pairs.
|
Package loop provides helpers for loop operation over key/value pairs. |
group
Package group provides short aliases for functions thath are used to group key/value pairs retrieved by a loop
|
Package group provides short aliases for functions thath are used to group key/value pairs retrieved by a loop |
Package predicate provides helpers for filtering keys or values of a map
|
Package predicate provides helpers for filtering keys or values of a map |
Click to show internal directories.
Click to hide internal directories.