package
Version:
v0.0.0-...-7d52cfa
Opens a new window with list of versions in this module.
Published: Jan 27, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Int64 returns a non-negative pseudo-random 63-bit integer as an int64
from the default Source.
IntN returns, as an int, a pseudo-random number in the half-open interval [0,n)
from the default Source.
It panics if n <= 0.
func Shuffle(n int, swap func(i, j int))
Shuffle returns a slice of shuffled values. Uses the Fisher-Yates shuffle algorithm.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.