Documentation
¶
Overview ¶
Package rand provides utilities related to randomization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int63nRange ¶ added in v1.3.0
func Int63nRange(min, max int64) int64
IntnRange generates an int64 integer in range [min,max). By design this should panic if input is invalid, <= 0.
func Intn ¶ added in v1.2.0
func Intn(max int) int
Intn generates an integer in range [0,max). By design this should panic if input is invalid, <= 0.
func IntnRange ¶ added in v1.3.0
func IntnRange(min, max int) int
IntnRange generates an integer in range [min,max). By design this should panic if input is invalid, <= 0.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.