Documentation ¶
Index ¶
- func GetMapKeys[K comparable, V any](m map[K]V) []K
- func GetMapKeysByOrder[K comparable, V any](m map[K]V, order int) K
- func GetMapValues[K comparable, V any](m map[K]V) []V
- func GetMapValuesByOrder[K comparable, V any](m map[K]V, order int) V
- func ToPointerArray[T any](ts []T) []*T
- func ToValueArray[T any](ts []*T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapKeys ¶
func GetMapKeys[K comparable, V any](m map[K]V) []K
func GetMapKeysByOrder ¶
func GetMapKeysByOrder[K comparable, V any](m map[K]V, order int) K
func GetMapValues ¶
func GetMapValues[K comparable, V any](m map[K]V) []V
func GetMapValuesByOrder ¶
func GetMapValuesByOrder[K comparable, V any](m map[K]V, order int) V
func ToPointerArray ¶
func ToPointerArray[T any](ts []T) []*T
func ToValueArray ¶
func ToValueArray[T any](ts []*T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.