package
1.1.26
Repository: https://github.com/hero1s/gotools.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
返回true就表示不存在.
使用者可能要在前面封装一层.
No description provided by the author
No description provided by the author
使用者可能要在前面封装一层.
No description provided by the author
No description provided by the author
获取当前月份,输出格式为:1801表示,2018年1月份.
No description provided by the author
No description provided by the author
No description provided by the author
根据时间戳获取日期 input:2018-01-12 16:24:01 这个日期的时间戳:1515745441 output: 20180112 */根据时间戳获取格式化的日期.
根据时间戳获取当月的第一天.
No description provided by the author
No description provided by the author
No description provided by the author
根据时间戳获取日期 input:2018-01-12 16:24:01 这个日期的时间戳:1515745441 output: 20180112 */根据时间戳获取格式华的日期.
根据时间戳获取格式华的日期.
获取现在距离day天前(后)的时间戳.
获取指定的一天,或一小时,或一分钟 如: 48h 两天后的表 -24h 一天前的表 -1h 一小时前的表 1h 一小时后的表 2m 两分钟后的表 -2m 两分钟前的表 暂时不支持秒级别,如需支持,please contact me */.
根据时间戳获取表名.
[今天统计昨天的数据专用]获取本月的表名(减去一天,然后计算出昨天的月份)(如果不减去一天,在月份交际之际会计算出错误的月份).
获取现在离本月结束的时间还有多久.
获取现在离今天结束的时间还有多久.
获取今天所在的月份表名.
获取今天的表名.
获取今天开始与结束的时间戳.
获取明天的表.
获取两天前的表.
相对于给出的时间戳获取昨天的时间.
获取昨天的表.
获取昨天开始与结束的时间戳.
init mysql params(30, 500,int64(10*time.Minute)).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
判断timestamp是否当月的时间戳.
判断给出的时间戳是否是当月的第一天.
判断timestamp是否上一个月的时间戳.
是否同一天.
判断timestamp是否在相同的月份的时间戳.
判断timestamp是否为当天的时间戳.
判断当前时间是否为周一至周五.
上个月(数据是今天凌晨统计昨天的,并把数据加到昨天所在到月分里,所以要减去一天).
上个月(数据是今天凌晨统计昨天的,并把数据加到昨天所在到月分里,所以要减去一天).
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
获取单行记录.
默认获取今天的零时时间戳-1表示前一天的零时时间戳1表示第二天的零时时间戳.
获取给出当月的时间戳,当月的开始与结束的时间戳.
获取给出时间戳的当天的开始与结束的时间戳.
获取给出当周的时间戳,当周的开始与结束的时间戳.
获取本月(减去一天,然后计算出昨天的月份)(如果不减去一天,在月份交际之际会计算出错误的月份).
获取本月(减去一天,然后计算出昨天的月份)(如果不减去一天,在月份交际之际会计算出错误的月份).
两天前.
两个月前(数据是今天凌晨统计昨天的,并把数据加到昨天所在到月分里,所以要减去一天).
No description provided by the author
No description provided by the author
拼接update的sql语句.
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

# Structs

读取mysql的配置, 初始化mysql.
No description provided by the author

# Interfaces

No description provided by the author