package
0.0.0-20190722091430-2869c026cae4
Repository: https://github.com/vvlgo/gotools.git
Documentation: pkg.go.dev
# Functions
计算时间,返回time,输入参数xxxx-xx-xx xx:xx:xx
*/.
复制map函数
*/.
CreateDir 创建文件夹
*/.
对计算后的浮点数处理,n保留几位小数
*/.
float32 to string
*/.
float64 to string
*/.
提取员工编号的数字,并生成新的编号
*/.
GetOrderNum 计算订单号,订单号格式yyyymmddDDmmss+电话后四位+5位随机数
*/.
10位字符长度的uuid
*/.
md5加密
*/.
计算所提供的日期的月份最后一天
*/.
No description provided by the author
判断文件夹是否存在.
发送邮件
*/.
StringsJoin 字符串拼接.
xxxx-xx-xx字符串转日期
*/.
xxxx-xx字符串转日期
*/.
No description provided by the author
No description provided by the author
计算两个时间之间相差的天数,n小数位数
*/.
TimeToDate 输入时间,结果xxxx-xx-xx
*/.
TimeToTimestamp 输入时间,结果xxxx-xx-xx xx:xx:xx:
*/.
将各种类型转换为字符串
*/.