sliceutil

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package sliceutil contains utility functions for working with slices. It's an extension of the std slices package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectErr

func CollectErr[T any](ents iter.Seq2[T, error]) ([]T, error)

CollectErr collects items from a sequence of items and errors, stopping at the first error and returning it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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