package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Mar 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Int [min, max) 随机数生成
crypto/rand 生成安全的随机数,相比math/rand性能更好,推荐使用
Int64 [min, max) 随机数生成
crypto/rand 生成安全的随机数,相比math/rand性能更好,推荐使用
Int64x [min, max) 随机数生成.
math/rand 生成的随机数相比crypto/rand性能更差.
Deprecated: use Int64() instead.
Intx [min, max) 随机数生成.
math/rand 生成的随机数相比crypto/rand性能更差.
Deprecated: use Int() instead.
IsBingo 是否中奖
percent: 概率 (%)
IsBingo64 是否中奖
percent: 概率 (%)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.