优化结构

This commit is contained in:
Yvan
2026-08-28 09:19:54 +08:00
parent 03a4131f6e
commit 279692375b
57 changed files with 778 additions and 799 deletions
+15
View File
@@ -0,0 +1,15 @@
package system
import (
"time"
"gorm.io/gorm"
)
func deletedAtPointer(value gorm.DeletedAt) *time.Time {
if !value.Valid {
return nil
}
result := value.Time
return &result
}