模板生成优化

This commit is contained in:
xiangheng
2024-08-16 02:51:43 +08:00
parent edd6d9df0e
commit 64e676572b
19 changed files with 174 additions and 488 deletions

View File

@@ -10,8 +10,8 @@ import (
"gorm.io/gorm/schema"
)
// const DateFormat = "2006-01-02"
// const TimeFormat = "2006-01-02 15:04:05"
const DateFormat = "2006-01-02"
const TimeFormat = "2006-01-02 15:04:05"
// NullTime 自定义时间格式
type NullTime struct {