rng

package
v0.0.0-...-b5fa7f3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool() bool

func Elem

func Elem[T any](s []T) T

func Int

func Int() int

func Intn

func Intn(n int) int

func Range

func Range[T ~int8 | ~int16 | ~int32 | ~int64 | ~int](n, m T) T

func Shuffle

func Shuffle[S ~[]E, E any](s S) S

Types

This section is empty.

Jump to

Keyboard shortcuts

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