Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtModel ¶
type AtModel struct { CreatedAt time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP;comment:创建时间;" json:"createdAt"` // 创建时间 UpdatedAt time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;comment:更新时间;" json:"updatedAt"` // 更新时间 DeletedAt *time.Time `gorm:"type:timestamp;comment:删除时间;" json:"deletedAt"` }
AtModel 时间
Click to show internal directories.
Click to hide internal directories.