rand

package
v0.16.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: GPL-3.0, LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intn

func Intn(n int64) (int64, error)

Intn is a shortcut for generating a random integer between 0 and n using crypto/rand.

func SecureFloat64

func SecureFloat64() (float64, error)

SecureFloat64 is a shortcut for generating a random float between 0 and 1 using crypto/rand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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