modulepackage
0.1.7
Repository: https://github.com/gaopengfei123123/tools.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
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
# Functions
ArrayChunkInt32 数组分组.
ArrayChunkStr 数组分组.
BatchExec 并发执行, 需限制总的并发数量.
CallFunc 利用反射动态执行函数.
No description provided by the author
No description provided by the author
No description provided by the author
CopyEsIndex 复制 es 索引.
No description provided by the author
GetCurrentSliceESIndex 分片基础函数.
GetCurrPath 获取当前可执行文件所在的磁盘路径.
GetEarliestDate 分片查询时间临界点.
GetEsIndex 默认获取批量索引的方法.
GetESMapping 获取指定索引的 mapping.
GetSliceESIndexByDateRange 根据时间格式过滤索引 可传递的格式有 2006-01-02 2006-1-02 2006-1-2 20060102.
GetSliceESIndexByTimeRange 根据时间格式过滤索引.
GetStructKeyType 获取struct的kv结构.
GetStructStringField 获取struct中指定key的string值.
HTTPGet 简化请求.
No description provided by the author
InterfaceToResult 将interface 里面的字段赋值给后面各种变量.
PrintJson 将数据打印成 json格式.
No description provided by the author
No description provided by the author
StructByReflect 遍历struct并且自动进行赋值.
SyncBatchExec 同步执行, 用于不方便并发执行的业务.
No description provided by the author
# Structs
CallBody 单个函数的请求体.
CallTask 发起并发执行任务.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author