package
0.0.0-20240912065615-60fd97213283
Repository: https://github.com/go-leo/gox.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Float32 returns, as a float32, a pseudo-random number in the half-open interval [0.0,1.0).
Float64 returns, as a float64, a pseudo-random number in the half-open interval [0.0,1.0).
No description provided by the author
HexString Generate a random number sequence of a given length.
Int returns a non-negative pseudo-random int.
Int31 returns a non-negative pseudo-random 31-bit integer as an int32.
Int31n returns, as an int32, a non-negative pseudo-random number in the half-open interval [0,n).
Int31Range returns a non-negative pseudo-random 31-bit integer as an int32 between min and max.
Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
Int63n returns, as an int64, a non-negative pseudo-random number in the half-open interval [0,n).
Int63Range returns a non-negative pseudo-random 63-bit integer as an int64 between min and max.
Intn returns, as an int, a non-negative pseudo-random number in the half-open interval [0,n).
IntRange returns a non-negative pseudo-random int between min and max.
No description provided by the author
NumericString Generate a random number sequence of a given length.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint returns a non-negative pseudo-random uint.
Uint32 returns a pseudo-random 32-bit value as a uint32.
Uint32Range returns a pseudo-random 32-bit value as a uint32 between min and max.
Uint64 returns a pseudo-random 64-bit value as a uint64.
Uint64Range returns a pseudo-random 64-bit value as a uint64 between min and max.
Uintn returns, as an uint, a non-negative pseudo-random number in the half-open interval [0,n).
UintRange returns a non-negative pseudo-random int between min and max.
No description provided by the author