polyfill

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorsJoin

func ErrorsJoin(errs ...error) error

func MapsClone

func MapsClone[M ~map[K]V, K comparable, V any](m M) M

func MapsKeys

func MapsKeys[M ~map[K]V, K comparable, V any](m M) []K

func MapsValues added in v1.0.25

func MapsValues[M ~map[K]V, K comparable, V any](m M) []V

func SlicesClone

func SlicesClone[S ~[]E, E any](s S) S

func SlicesDeleteFunc added in v1.0.15

func SlicesDeleteFunc[S ~[]E, E any](s S, del func(E) bool) S

func SlicesReverse

func SlicesReverse[S ~[]E, E any](s S)

func SlicesSort

func SlicesSort[S ~[]E, E cmp.Ordered](x S)

Types

This section is empty.

Jump to

Keyboard shortcuts

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