升级time文件
This commit is contained in:
parent
3b612857fe
commit
cdf00b5c99
3
init.go
3
init.go
@ -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{}
|
||||||
}
|
}
|
||||||
|
8
time.go
8
time.go
@ -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<白茶清欢>
|
||||||
|
Loading…
Reference in New Issue
Block a user