kv

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL