Help us shape the future of Go! Take the 2026 Go Developer Survey

randx

package
v0.66.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Between

func Between(lower, upper int) (int64, error)

Between will return a randomly generated integer within the lower (inclusive) and upper (exclusive) bounds provided.

func Must

func Must(n int64, err error) int64

Must is a helper that wraps a call to Between and panics if the error is non-nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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