package
0.0.0-20241030091818-c2b9a338f4a7
Repository: https://github.com/yrzs/openimsdktools.git
Documentation: pkg.go.dev

# Packages

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
BothExist 获取切片中共同存在的元素(交集).
BothExistAny 获取切片中共同存在的元素(交集).
No description provided by the author
Complete a和b去重后是否相等(忽略顺序).
Contain 是否包含.
copy a by b b->a.
Delete 删除切片元素, 支持负数删除倒数第几个.
DeleteAt 删除切片元素, 支持负数删除倒数第几个.
Get the diff of two slices.
Get the diff of two slices.
Distinct 去重.
DistinctAny 去重.
No description provided by the author
Duplicate 是否有重复的.
DuplicateAny 是否有重复的.
Equal 比较切片是否相对(包括元素顺序).
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
Get the formatted time at 12 o'clock of the day, the format is "2006-01-02_12-00-00".
Get the timestamp at 12 o'clock on the day.
Get the formatted time at 0 o'clock of the day, the format is "2006-01-02_00-00-00".
Get the timestamp at 0 o'clock of the day.
Get the current timestamp by Mill.
Get the current timestamp by Nano.
Get the current timestamp by Second.
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
HasKey get whether the map contains key.
If true -> a, false -> b.
IndexAny get the index of the element.
IndexOf get the index of the element.
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
Get the intersection of two slices.
Get the intersection of two slices.
No description provided by the author
judge a string whether in the string list.
No description provided by the author
No description provided by the author
Determine whether the given path is a folder.
No description provided by the author
Determine whether the given path is a file.
No description provided by the author
The incoming parameter must be a pointer.
Keys get map keys.
No description provided by the author
No description provided by the author
Max get maximum value.
No description provided by the author
Min get minimum value.
Create a directory.
NotNilReplace 当new_不为空时, 将old设置为new_.
No description provided by the author
Order 将ts按es排序.
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
Single a中存在,b中不存在 或 b中存在,a中不存在.
Slice 批量转换切片类型.
SliceAnySub a中存在,b中不存在 (a-b) fn 返回的是uuid.
SliceSet slice to map[E]struct{}.
SliceSetAny slice to map[K]struct{}.
SliceSub a中存在,b中不存在 (a-b).
SliceSubAny a中存在,b中不存在 (a-b).
SliceToMap slice to map.
SliceToMapAny slice to map (自定义类型).
SliceToMapOkAny slice to map (自定义类型, 筛选).
Sort basic type sorting.
SortAny custom sort method.
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
Convert nano timestamp to time.Time type.
Convert timestamp to time.Time type.
No description provided by the author
Values get map values.
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

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Half-day hourly offset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
8 hour offset.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Interfaces

Ordered types that can be sorted.