Documentation ¶
Index ¶
- func ErrorsJoin(errs ...error) error
- func MapsClone[M ~map[K]V, K comparable, V any](m M) M
- func MapsKeys[M ~map[K]V, K comparable, V any](m M) []K
- func MapsValues[M ~map[K]V, K comparable, V any](m M) []V
- func SlicesClone[S ~[]E, E any](s S) S
- func SlicesDeleteFunc[S ~[]E, E any](s S, del func(E) bool) S
- func SlicesReverse[S ~[]E, E any](s S)
- func SlicesSort[S ~[]E, E cmp.Ordered](x S)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorsJoin ¶
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 SlicesReverse ¶
func SlicesReverse[S ~[]E, E any](s S)
func SlicesSort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.