Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapEntry ¶
type MapEntry[K comparable, V any] struct { Key K Value V }
type MapEntrySlice ¶
type MapEntrySlice[K comparable, V any] []MapEntry[K, V]
func SliceFromMap ¶
func SliceFromMap[K comparable, V any](m map[K]V) MapEntrySlice[K, V]
func (MapEntrySlice[K, V]) Sort ¶ added in v0.3.0
func (s MapEntrySlice[K, V]) Sort(cmp func(a, b MapEntry[K, V]) int) MapEntrySlice[K, V]
Click to show internal directories.
Click to hide internal directories.