package
0.0.0-20200601021147-e1aa8c7e24af
Repository: https://github.com/hello2mao/go-common.git
Documentation: pkg.go.dev
# Functions
Int returns a non-negative pseudo-random int.
IntnRange generates an int64 integer in range [min,max).
Intn generates an integer in range [0,max).
IntnRange generates an integer in range [min,max).
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n) from the default Source.
SafeEncodeString encodes s using the same characters as rand.String.
Seed seeds the rng with the provided seed.
String generates a random alphanumeric string, without vowels, which is n characters long.