Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomValue ¶
func GetRandomValue[K comparable, V any](m map[K]V) V
GetRandomValue 随机获取map中的value
- @param m map[any]any
func GetVByIndex ¶
func GetVByIndex[K comparable, V any](m map[K]V, index int) any
GetVByIndex 通过下标取map中的值
- @param m map[any]any 取值的map
- @param index int 下标
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.