Documentation ¶
Index ¶
- Constants
- Variables
- func ChooseMN(m, n int) []int
- func RandAnythingOnceFrom[S ~[]T, T any](from S) T
- func RandAnythingSomeFrom[S ~[]T, T any](from S, tar int) S
- func RandBetween(start int64, end int64) int64
- func RandDigit(n int) string
- func RandString(n int) string
- func Wave(base int64, lowRate int64, upRate int64) int64
Constants ¶
View Source
const (
PROBABILITY int32 = 10000
)
Variables ¶
View Source
var RanD random
Functions ¶
func RandAnythingOnceFrom ¶
func RandAnythingOnceFrom[S ~[]T, T any](from S) T
func RandAnythingSomeFrom ¶
func RandBetween ¶
func RandString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.