random

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomInt

func RandomInt(min int, max int) int

RandomInt generates a random integer between the provided min and max integers (inclusive of min, exclusive of max).

func RandomTimeout

func RandomTimeout(min time.Duration, max time.Duration) time.Duration

RandomTimeout generates a random duration between the provided min and max durations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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