package
0.0.0-20230426082013-6a177d417615
Repository: https://github.com/benny66/tally-server.git
Documentation: pkg.go.dev

# 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
No description provided by the author
No description provided by the author
No description provided by the author
* description: 计算md5 * author: shahao * created on: 2021/3/9 19:20 * param param_1: * param param_2: * return return_1: */.
* description: 检测路径不存在则创建 * author: shahao * created on: 20-3-23 下午5:22 * param param_1: * param param_2: * return return_1: */.
时间格式化.
毫秒时间戳转时间.
秒时间戳转时间.
* description: 获取绝对路径(不兼容于go run main.go运行模式) * author: shahao * created on: 2021/3/5 11:35 * param param_1: * param param_2: * return return_1: */.
* description: 获取当前执行程序绝对路径(不兼容于go run main.go运行模式) * author: shahao * created on: 2021/3/5 11:36 * param param_1: * param param_2: * return return_1: */.
return yyyyMMdd.
获取两个时间相差的天数,0表同一天,正数表t1>t2,负数表t1<t2.
获取t1和t2的相差天数,单位:秒,0表同一天,正数表t1>t2,负数表t1<t2.
No description provided by the author
* 获取一个时间点那一周,周一的开始时间和结束时间,毫秒,默认是 Sunday 开始到 Saturday 算 0,1,2,3,4,5,6 */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* description: 判断切片中是否包含指定字符串 * created on: 2021/3/31 14:45 */.
No description provided by the author
No description provided by the author
No description provided by the author
* description: 判断文件是否存在 * author: shahao * created on: 2021/3/5 16:50 * param param_1: * param param_2: * return return_1: */.
No description provided by the author
前四个字符串是mac地址后两位,第五个.
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
* * 将时间格式换成 xx秒前,xx分钟前..
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

# Constants

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