util

package
v0.0.0-...-dea60c0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForEachE

func ForEachE[T any](source []T, f func(i int, t T) error) error

func ForEachParallelE

func ForEachParallelE[T any](source []T, f func(i int, t T) error) error

func IgnoreMatchedError

func IgnoreMatchedError(err error, match error) error

func MapKeys

func MapKeys[K comparable, V any](m map[K]V) []K

func Pointer

func Pointer[T any](val T) *T

func Project

func Project[T any, D any](source []T, f func(i int, t T) D) (ret []D)

func Reverse

func Reverse[T any](source []T) (ret []T)

func Where

func Where[T any](source []T, f func(i int, t T) bool) (ret []T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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