util

package
v0.0.0-...-6a9eff9 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomBetween

func GetRandomBetween(low int, high int) int

GetRandomBetween returns a random integer value between low and high.

func IsBetweenID

func IsBetweenID(cmp uint64, low uint64, high uint64) bool

IsBetweenID checks if the cmp lies between low and high (exclusive of low, inclusive of high).

Types

This section is empty.

Jump to

Keyboard shortcuts

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