Documentation ¶
Index ¶
- func Concat[K constraints.Ordered, V any](maps ...map[K]V) map[K]V
- func Debounce[T any](in <-chan T) <-chan T
- func Every[T any](duration time.Duration, in <-chan T) <-chan T
- func MapSlice[T any, K any](values []T, mapper func(T) K) []K
- func New[T any]() T
- func NewAs[T any, R any]() R
- func Pointer[T any](v T) *T
- func SortedKeys[K constraints.Ordered, T any](data map[K]T) (result []K)
- func SortedValues[K constraints.Ordered, V any](data map[K]V) (result []V)
- func SortedValuesByKey[K constraints.Ordered, T any](data map[K]T) (result []T)
- func Tee[T any](in <-chan T) (<-chan T, <-chan T)
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Concat ¶
func Concat[K constraints.Ordered, V any](maps ...map[K]V) map[K]V
func SortedKeys ¶
func SortedKeys[K constraints.Ordered, T any](data map[K]T) (result []K)
func SortedValues ¶
func SortedValues[K constraints.Ordered, V any](data map[K]V) (result []V)
func SortedValuesByKey ¶
func SortedValuesByKey[K constraints.Ordered, T any](data map[K]T) (result []T)
Types ¶
Click to show internal directories.
Click to hide internal directories.