Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Choice ¶
func Choice[T any](sequence []T) T
Return a random element from the non-empty sequence
func Rand ¶
func Rand[T constraints.Integer | constraints.Float](start, stop T) T
Random a number in range [start, stop)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.