iterutil

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForEachErr

func ForEachErr[T any](iterator iter.Iterator[T], input []T, f func(*T) error) error

ForEachErr wraps iter.ForEach with an error return.

func ForEachIdxErr

func ForEachIdxErr[T any](iterator iter.Iterator[T], input []T, f func(int, *T) error) error

ForEachIdxErr wraps iter.ForEachIdx with an error return.

Types

This section is empty.

Jump to

Keyboard shortcuts

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