Documentation ¶
Index ¶
- func RandomAroundFloat64(min, max float64) float64
- func RandomAroundFloat64Seed(seed int64, min, max float64) float64
- func RandomAroundInt(min, max int) (int, error)
- func RandomAroundInt32(min, max int32) (int32, error)
- func RandomAroundInt32Seed(seed int64, min, max int32) (int32, error)
- func RandomAroundInt64(min, max int64) (int64, error)
- func RandomAroundIntSeed(seed int64, min, max int) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomAroundFloat64 ¶
func RandomAroundFloat64Seed ¶ added in v1.1.44
* 自定义随机因子
func RandomAroundInt ¶
func RandomAroundInt32 ¶
func RandomAroundInt32Seed ¶ added in v1.1.44
* 自定义随机因子了
func RandomAroundInt64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.