package
1.0.20
Repository: https://github.com/hero1s/golib.git
Documentation: pkg.go.dev

# Functions

AbsInt16 gets absolute value of int16.
AbsInt32 gets absolute value of int32.
AbsInt64 gets absolute value of int64.
AbsInt8 gets absolute value of int8.
保留N位小数.
int数组合并,去重复.
RandAlphanumeric returns a truly random string of the specified length and the contents of which are composed of alphanumeric letters.
RandBytes gets a truly random byte slice of the specified length with the value range in [0x00,0xff].
RandInt returns a non-negative truly random int number.
RandIntn returns a non-negative truly random int number in [0,n).
RandIntRange returns a non-negative truly random int number in [min,max).
RandInts returns a non-negative truly random int specified length slice with the value range in [0,max).
RandLowerStr returns a truly random lowercase string of a specified length.
随机值在闭区间[min,max].
打乱一个string数组.
打乱一个uint数组.
RandStr returns a truly random string of the specified length and the contents of which are composed of upper and lowercase letters.
RandUpperStr returns a truly random uppercase string of a specified length.
No description provided by the author
No description provided by the author