utils

package
v0.0.19-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectSlices

func CollectSlices[I any](batches [][]I) iter.Seq[I]

CollectSlices collects a sequence of slices into one slice

func MapSlice

func MapSlice[I any, O any](s iter.Seq[I], f func(I) O) iter.Seq[O]

MapSlice returns a modified slie of elements based on a converter function

Types

This section is empty.

Jump to

Keyboard shortcuts

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