cols

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter[T any](in []T, predicate func(element T) bool) (out []T)

func FilterErr added in v1.6.0

func FilterErr[T any](in []T, predicate func(element T) (bool, error)) (out []T, err error)

func Map

func Map[In any, Out any](in []In, f func(i In) (o Out)) (out []Out)

func MapErr

func MapErr[In any, Out any](in []In, f func(i In) (o Out, err error)) (out []Out, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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