rand

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package rand provides crypto random number functions. nolint: gocritic,gomnd

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64() float64

Float64 returns float64 as a non-negative random number in [0.0,1.0).

func Floats64n

func Floats64n(max float64, min ...float64) float64

Floats64n returns float64 as a non-negative random number in [0.0,n).

func Intn

func Intn(max int64) int64

Intn returns int64 as a non-negative random number in [0,max).

Types

This section is empty.

Jump to

Keyboard shortcuts

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