hrand

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandInt

func GetRandInt(num int) int

GetRandInt 获取随机数,返回值区间[0,num)

func GetRandIntAndRange

func GetRandIntAndRange(min, max int) int

GetRandIntAndRange 获取指定范围随机数,返回值区间[min,max)

Types

This section is empty.

Jump to

Keyboard shortcuts

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