slices2

package
v0.0.0-...-a45bf93 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map[A, B any, SA ~[]A](as SA, fn func(A) B) []B

func ParForEach

func ParForEach[A any, SA ~[]A](ctx context.Context, sem *semaphore.Weighted, as SA, fn func(context.Context, A) error) error

func ParMapErr

func ParMapErr[A, B any, SA ~[]A](ctx context.Context, sem *semaphore.Weighted, as SA, fn func(context.Context, A) (B, error)) ([]B, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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