Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init()
Init must be called at the start of every program.
If CODECRAFTERS_RANDOM_SEED is set, it will be used to generate predictable random numbers.
func RandomElementFromArray ¶ added in v0.2.32
func RandomElementFromArray[T any](arr []T) T
func RandomElementsFromArray ¶ added in v0.2.32
func RandomStrings ¶
RandomStrings returns a random list of n strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.