Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func Pointerize ¶
func Pointerize[T any](v T) *T
Types ¶
type MapEntry ¶
type MapEntry[K constraints.Ordered, V any] struct { Key K Value V }
type OrderedMap ¶
type OrderedMap[K constraints.Ordered, V any] []MapEntry[K, V]
func SortedMap ¶
func SortedMap[K constraints.Ordered, V any](in map[K]V) OrderedMap[K, V]
Click to show internal directories.
Click to hide internal directories.