random

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package random provides utilities for randomization tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shuffle

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.

Types

This section is empty.

Directories

Path Synopsis
Package lazy provides lazy random sampling utilities.
Package lazy provides lazy random sampling utilities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL