rand

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RANDOM = rand.New(rand.NewSource(time.Now().UnixNano()))

Functions

func RandomInt

func RandomInt(min, max int) int

RandomInt 根据区间产生随机数

func RandomInt64

func RandomInt64(min, max int64) int64

RandomInt64 根据区间产生随机数

Types

This section is empty.

Jump to

Keyboard shortcuts

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