rand

package
v1.0.51 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probability

func Probability(list map[int]int64) int

Probability 根据概率随机

func Range

func Range(min, max int) int

Range 区间随机 nanoseconds种子,全开区间[min, max]

func Range64

func Range64(min, max int64) int64

Range64 区间随机 nanoseconds种子,全开区间[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