gin-base/database
maguodong 1e18be8326 refactor(database): 简化基础模型时间处理逻辑
- 移除自定义 DateTime 类型及其 JSON 序列化/反序列化实现
- 将 CreateTime 和 UpdateTime 字段类型从 DateTime 改为 string
- 添加 GORM 的 BeforeCreate 和 BeforeUpdate 钩子函数
- 使用 time.Now().Format 直接格式化时间字符串
- 移除冗余的 driver.Valuer 和 sql.Scanner 接口实现
2026-03-28 16:13:54 +08:00
..
model refactor(database): 简化基础模型时间处理逻辑 2026-03-28 16:13:54 +08:00
database.go feat(database): 添加数据库模型查询后时间戳更新功能 2026-03-28 15:34:10 +08:00
index.go feat(database): 添加数据库连接初始化和ORM支持 2026-02-02 17:48:40 +08:00
migrate.go refactor(database): 移除GORM表选项设置 2026-02-03 14:45:04 +08:00