From 4ec3a3016b57a7e9baac7b566d72bac843986801 Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Thu, 9 Jul 2020 22:38:59 +0800 Subject: [PATCH] fix: fix: Fix current spelling error --- tools/string.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/string.go b/tools/string.go index 0269e747..694b43dd 100644 --- a/tools/string.go +++ b/tools/string.go @@ -18,11 +18,11 @@ func StringToInt(e string) (int, error) { } -func GetCurrntTimeStr() string { +func GetCurrentTimeStr() string { return time.Now().Format("2006/01/02 15:04:05") } -func GetCurrntTime() time.Time { +func GetCurrentTime() time.Time { return time.Now() }