升级time文件

This commit is contained in:
白茶清欢 2022-05-14 15:26:13 +08:00
parent 3b612857fe
commit cdf00b5c99
2 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,8 @@ var (
String *stringOperate String *stringOperate
// Struct ... // Struct ...
Struct *ownStruct Struct *ownStruct
// Time ...
Time *ownTime
) )
func init() { func init() {
@ -32,4 +34,5 @@ func init() {
JSON = &ownJSON{} JSON = &ownJSON{}
String = &stringOperate{} String = &stringOperate{}
Struct = &ownStruct{} Struct = &ownStruct{}
Time = &ownTime{}
} }

View File

@ -9,6 +9,14 @@ package util
import "time" import "time"
// ownTime ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 15:24 2022/5/14
type ownTime struct {
}
// GetCurrentFormatTime 获取当前时间的格式化时间(秒) // GetCurrentFormatTime 获取当前时间的格式化时间(秒)
// //
// Author : go_developer@163.com<白茶清欢> // Author : go_developer@163.com<白茶清欢>