update time
This commit is contained in:
parent
cfe1f4c04d
commit
9d7c4713d0
2
time.go
2
time.go
@ -22,6 +22,6 @@ type ownTime struct {
|
|||||||
// Author : go_developer@163.com<白茶清欢>
|
// Author : go_developer@163.com<白茶清欢>
|
||||||
//
|
//
|
||||||
// Date : 1:34 上午 2021/10/7
|
// Date : 1:34 上午 2021/10/7
|
||||||
func GetCurrentFormatTime() string {
|
func (ot *ownTime) GetCurrentFormatTime() string {
|
||||||
return time.Now().Format("2006-01-02 15:04:05")
|
return time.Now().Format("2006-01-02 15:04:05")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user