kv

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 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.TrackLoop[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 and iterator implementations
Package loop provides helpers for loop operation over key/value pairs and iterator implementations
Package stream provides a stream implementation and helper functions
Package stream provides a stream implementation and helper functions

Jump to

Keyboard shortcuts

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