iter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package iter contains a collection of helpful generic functions for working with iterators that only exist because the standard iterator packages do not support these generic functions.

It is not part of the public interface and considered highly instable. In the future these functions are hopefully supported by the standard library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncMap

func SyncMap[K comparable, V any](source *sync.Map) iter.Seq2[K, V]

SyncMap returns an iter.Seq2 iterator over the entries of a *sync.Map, casting keys and values to the given type parameters K and V respectively.

Types

This section is empty.

Jump to

Keyboard shortcuts

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