diff --git a/init.go b/init.go index 975b340..d33d6a7 100644 --- a/init.go +++ b/init.go @@ -22,6 +22,8 @@ var ( String *stringOperate // Struct ... Struct *ownStruct + // Time ... + Time *ownTime ) func init() { @@ -32,4 +34,5 @@ func init() { JSON = &ownJSON{} String = &stringOperate{} Struct = &ownStruct{} + Time = &ownTime{} } diff --git a/time.go b/time.go index 89c7752..18b7b92 100644 --- a/time.go +++ b/time.go @@ -9,6 +9,14 @@ package util import "time" +// ownTime ... +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 15:24 2022/5/14 +type ownTime struct { +} + // GetCurrentFormatTime 获取当前时间的格式化时间(秒) // // Author : go_developer@163.com<白茶清欢>