add core/error/util files

This commit is contained in:
MaysWind
2020-10-17 17:22:10 +08:00
parent e5953c9f17
commit 6ad0a02d44
25 changed files with 917 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package utils
import "time"
func FormatToLongDateTime(t time.Time) string {
return t.Format("2006-01-02 15:04:05")
}