From 9d7c4713d09b22e24e7dde531d5a10807ab05fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 26 Jun 2022 16:09:15 +0800 Subject: [PATCH] update time --- time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.go b/time.go index 18b7b92..004d9db 100644 --- a/time.go +++ b/time.go @@ -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") }