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

# Functions

No description provided by the author
ConvertInterfacesOID 转换interface类型数组.
ConvertInterfacesSeniorOID 转换interface类型数组,需匹配match,如果match匹配转换value为ObjectID.
ConvertKeyID 转换查询的ObjectID.
ConvertMapOID 转换键值对类型.
ConvertObjectIDToID 转换字符串类型.
ConvertOID 转换查询的ObjectID.
ConvertPrimitiveAOID 转换interface类型数组.
ConvertPrimitiveASeniorOID 转换interface类型数组,需匹配match,如果match匹配转换value为ObjectID.
ConvertPrimitiveAToID 转换interface类型数组.
ConvertPrimitiveMapOID 转换为primitive.M.
ConvertPrimitiveMapToID 转换为primitive.M.
ConvertSeniorOID 转换查询的ObjectID,需匹配match,如果match匹配转换value为ObjectID.
ConvertStrOID 转换字符串类型.
ConvertStrSeniorOID 转换字符串类型,需匹配match,如果match匹配转换value为ObjectID.
ConvertStrsOID 转换字符串数组类型.
ConvertStrsSeniorOID 转换字符串数组类型,需匹配match,如果match匹配转换value为ObjectID.
DeepCopy 深度复制.
DeepCopyPrimitiveM PrimitiveM深度复制.
No description provided by the author
FindCount 根据Pipeline查询数据量 pipeLine:查询管道.
No description provided by the author
HTTPErrorHandler customize echo's HTTP error handler.
NewHTTPError 创建自定义返回错误.
NewResponseMsg 创建求响应消息.
SaveOne 保存数 model:数据.
UpdateByID 根据ID及数据更新 id:主键_id model:更新的数据.
UpdateMany 全部数据更新 conditions:更新条件 model:更新的数据.

# Structs

No description provided by the author
GenericAPIView 通用服务创建.
HTTPError 自定义返回错误.

# Type aliases

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