Documentation
¶
Index ¶
- func FilterInPlace[T any](slice []T, pred func(T) bool) []T
- func Keys[K comparable, V any](m map[K]V) []K
- func Lock1[T any, U any](l Locker[T], f func(inner T) U) U
- func Lock2[T any, U any, J any](l Locker[T], f func(inner T) (U, J)) (U, J)
- func Map[T any, U any](slice []T, f func(t T) U) []U
- func Values[K comparable, V any](m map[K]V) []V
- type Locker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterInPlace ¶
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
func Values ¶
func Values[K comparable, V any](m map[K]V) []V
Types ¶
Click to show internal directories.
Click to hide internal directories.