# Packages
No description provided by the author
@Copyright (c) 2021.
@Copyright (c) 2021.
No description provided by the author
*
* @Author:changjiang
* @Description:
* @File:store
* @Version: 1.0.0
* @Date 2021/2/22 12:47 上午
*/.
Package redis @Copyright (c) 2021.
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
创建并返回Hid.
应用于事务中.
No description provided by the author
DateDuration 指定时间离当前时间的差额.
DateDuration 指定时间离当前时间的差额.
DateParse 解析时间格式.
DateStandard 标准的golang格式.
DateTime 时间格式转换.
No description provided by the author
返回值的单位为米 ,计算坐标点间的距离.
EscapeJson 转义json特殊字符.
执行shell命令,可设置执行超时时间.
FileExist 判断文件是否存在及是否有权限访问.
GBK2UTF8 GBK编码转换为UTF8.
GetLocalIP 获取本机网卡IP.
GetMondayDateStamp 获取指定时间的星期一凌晨0时0分0秒.
GetStringUniqueNumber 将字符串转换为数字 param strValue return int64.
生成GUID param prefix string 数据库名+表名.
手机号加星号.
No description provided by the author
No description provided by the author
IsIdCard 判断身份证号是否合法.
Md5 生成32位MD5摘要 字符串加密 md5算法.
No description provided by the author
No description provided by the author
No description provided by the author
ParseDate 转换日期格式.
ParseDateTime 转换时间格式.
No description provided by the author
No description provided by the author
RandNumber 生成0-max之间随机数.
RandomString 短信验证码字符串生成.
RandString 生成长度为length的随机字符串.
No description provided by the author
ReplaceStrings 批量替换字符串.
No description provided by the author
No description provided by the author
No description provided by the author
获取字符串的utf8格式(中文格式)长度.
SubString 汉字截取.
将unix时间戳(单位:秒)转换为时间格式.
将unix时间戳(单位:纳秒)转换为时间格式.
时间时间格式转换.
URL转换为字符串格式(用于权限验证生成KEY).
# Constants
this are some const params what i defined only this can be to input.
this are some const params what i defined only this can be to input.
this are some const params what i defined only this can be to input.
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
# Structs
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
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
Define AlarmType to string for to check the params is right.
No description provided by the author
No description provided by the author