package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Dec 30, 2025
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
¶
Package random provides utilities for randomization tasks.
func Shuffle[T any](slice []T) []T
Shuffle returns a new slice with the elements of the input slice shuffled
randomly using the Fisher-Yates algorithm.
Source Files
¶
Directories
¶
Package lazy provides lazy random sampling utilities.
|
Package lazy provides lazy random sampling utilities. |
Click to show internal directories.
Click to hide internal directories.