package
Version:
v0.42.1
Opens a new window with list of versions in this module.
Published: Jun 13, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Shuffle(n int, swap func(i, j int))
Shuffle randomizes the order of elements.
n is the number of elements. Shuffle panics if n < 0.
swap swaps the elements with indexes i and j.
Uint64 returns a random uint32 value.
Uint64 returns a random uint64 value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.