feat(Go-Tool):创建timed包相关时间操作工具,实现时间戳、时间格式化操作。创建timed测试类

This commit is contained in:
huangzj
2020-05-07 16:14:37 +08:00
parent d448fbad5e
commit 24c319a182
13 changed files with 554 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
/*
* @Author : huangzj
* @Time : 2020/5/7 13:54
* @Description
*/
package vo
type IntervalObj struct {
IntervalYear float64 //间隔年数
IntervalMonth float64 //间隔月数
IntervalDay float64 //间隔天数
IntervalHour float64 //间隔小时数
IntervalMinute float64 //间隔分钟数
IntervalSecond float64 //间隔秒数
}