update time

This commit is contained in:
白茶清欢 2022-06-26 16:09:15 +08:00
parent cfe1f4c04d
commit 9d7c4713d0

View File

@ -22,6 +22,6 @@ type ownTime struct {
// Author : go_developer@163.com<白茶清欢>
//
// Date : 1:34 上午 2021/10/7
func GetCurrentFormatTime() string {
func (ot *ownTime) GetCurrentFormatTime() string {
return time.Now().Format("2006-01-02 15:04:05")
}