Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct { ID uint `gorm:"primary_key" json:"id,omitempty"` CreatedAt time.Time `gorm:"not null" json:"created_at" sql:"DEFAULT:CURRENT_TIMESTAMP"` UpdatedAt time.Time `gorm:"not null" json:"updated_at" sql:"DEFAULT:CURRENT_TIMESTAMP"` DeletedAt *time.Time `sql:"index" json:"deleted_at,omitempty"` }
Click to show internal directories.
Click to hide internal directories.