package
1.1.0
Repository: https://github.com/gzjjyz/srvlib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CalcBillionRate 百万分比加成计算.
CalcMillionRate 万分比加成计算.
No description provided by the author
No description provided by the author
CalcMillionRateRevert 万分比加成计算, 越加越小.
ClearBit 清空位.
ClearBit64 清空位.
DeepCopy 结构体深拷贝(谨慎调用).
No description provided by the author
No description provided by the author
No description provided by the author
GetCurrentDir 获取当前目录.
No description provided by the author
No description provided by the author
No description provided by the author
GetMd5 获取md5.
No description provided by the author
1-10星为1阶 11-20星为2阶.
No description provided by the author
No description provided by the author
High32 64位高32位值.
No description provided by the author
No description provided by the author
Int2ip Convert uint to net.IP.
No description provided by the author
InterfaceSlice 将普通数组转换为interface数组.
IntInterfaceSlice 将interface数组转换为int32数组.
Ip2int Convert net.IP to int64.
IsDev 是否开发版本.
No description provided by the author
No description provided by the author
IsSetBit 是否设置指定位.
IsSetBit64 是否设置指定位.
No description provided by the author
KeyBy 提取Slice结构体的某个字段转换成Map,key field , val Struct.
加载json配置.
No description provided by the author
Low32 64位低32位值.
No description provided by the author
Make64 32+32组装64.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProtectGo in fact, we could add trace system into there, consider it!!除了recover保护程序以外,这里还可以考虑加入系统链路信息.
ProtectRun 保护方式允许一个函数.
RandSlice 切片乱序.
RemoveSpace 去除空格类字符.
No description provided by the author
No description provided by the author
No description provided by the author
SetBit 设置位.
SetBit64 设置位.
No description provided by the author
SliceContains 元素是否在数组里面(注意类型一定要一样).
SliceContainsInt 元素是否在数组里面.
SliceContainsString 元素是否在数组里面.
SliceContainsUint16 元素是否在数组里面Uint16.
SliceContainsUint32 元素是否在数组里面Uint32.
SliceContainsUint64 元素是否在数组里面.
SliceDifference 差集:以属于A而不属于B的元素为元素的集合成为A与B的差 (集).
SliceFind 传入方法找到元素.
SliceFindIndex 传入方法找到元素索引.
SliceInsert 往数组插入元素.
SliceIntersect 交集: 以属于A且属于B的元素为元素的集合成为A与B的交(集).
SliceRemoveDuplicate 在slice中去除重复的元素,其中a必须是已经排序的序列。 * params: * a: slice对象,如[]string, []int, []float64, ..
切片翻转.
SliceUnion 并集:以属于A或属于B的元素为元素的集合成为A与B的并(集).
StringInterfaceSlice 将interface数组转换为string数组.
字符串转换数组的函数 格式为: A,B,C,D 的字符串格式.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint32InterfaceSlice 将interface数组转换为uint32数组.

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author