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() }