randx

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 2 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 and upper 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