package
0.0.54
Repository: https://github.com/air-iot/service.git
Documentation: pkg.go.dev

# Functions

AddNonRepBsonMByLoop 通过循环添加非重复元素([]bson.M).
AddNonRepByLoop 通过循环添加非重复元素.
AddNonRepObjectIDByLoop 通过循环添加非重复元素.
AddNonRepByLoop 通过循环添加非重复元素.
AddNonRepByLoop 通过循环添加非重复元素.
CombineRecord 合并记录(data需要排过序的).
CombineRecordBson 合并记录(data需要排过序的)(bson).
格式字符串转Timetime.ParseInLocation("20060102150405","20180223100000",time.Local).
No description provided by the author
copy file.
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
FormatObjectID 格式化对象为string(转换的字段为ObjectID类型或string类型).
FormatObjectIDList 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型).
FormatObjectIDListMap 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型)(doc为map类型).
FormatObjectIDListMap 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型)(doc为map类型).
FormatObjectIDPrimitiveList 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型)(Primitive).
FormatObjectIDPrimitiveList 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型)(Primitive).
No description provided by the author
No description provided by the author
FormulaLogicMappingNodeProp 提取资产属性ID.
FormulaLogicMappingNumberVal 提取数值转化死区.
FormulaLogicMappingSystem 提取普通系统变量ID.
FormulaLogicMappingTagID 提取普通数据点ID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetFormatObjectIDList 格式化对象数组为string数组(转换的字段为ObjectID类型或string类型)(不改变原对象)(处理bson.M).
获取时间间隔转化为天小时分秒.
No description provided by the author
GetJsonLogicSymbol 递归获取jsonlogic中大于小于字段的值组成数组.
GetJsonLogicVarList 递归获取jsonlogic中var字段的值组成数组.
GetJsonLogicVarList 递归获取jsonlogic中var字段的值组成数组.
GetJsonLogicVarList 递归获取jsonlogic中var字段的值组成数组.
GetJsonLogicVarListSystemVar 递归获取jsonlogic中var字段的值组成数组.
循环中获取前几个小时时间.
循环中获取前几分钟时间.
GetLocalTime 获取本地时区的时间(东八).
GetLocalTime 获取本地时区的时间(东八).
GetPointAndUserCount 算数据点用户数.
No description provided by the author
No description provided by the author
后几个月的月初,指定时间.
前推到几天后0点.
几个月前的月初.
前推到几天前0点.
几年前的季度.
几年前的当月初.
GetLocalTime 获取本地时区的时间(东八).
No description provided by the author
若有除了数字字母汉字和个别特殊字符以外的其他字符,则匹配失败.
InterfaceListToStringList interface数组转字符串数组.
InterfaceTypeToRedisMethod 数值类型的redis查询结果转为对应类型.
No description provided by the author
No description provided by the author
判断文件文件夹是否存在.
No description provided by the author
MD5 MD5哈希值.
MD5String MD5哈希值.
MergeDataMap 融合映射Map.
MergeEventDataMap 融合映射Map.
MergeEventHandlerDataMap 融合映射Map.
MergeNodeDataMap 融合映射Map.
MergeUserDataMap 融合映射Map.
ObjectIdListToStringList 字符串数组转ObjectId数组.
No description provided by the author
RemoveRepByLoop 通过循环过滤重复元素.
SendSmsTemplateMessage 发送模板消息.
SendWeChatTemplateMessage 发送模板消息.
SHA1 SHA1哈希值.
SHA1String SHA1哈希值.
RSA签名 - 私钥.
StringListToInterfaceList 字符串数组转Interface数组.
StringListToObjectIdList 字符串数组转ObjectId数组.
TemplateVariableMapping 模板变量映射.
No description provided by the author
RSA签名验证.
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
second.

# Structs

No description provided by the author