Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { ID int64 `xorm:"pk autoincr INT(10) notnull" json:"id" form:"id"` CreatedAt time.Time `xorm:"created" json:"created_At"` UpdatedAt time.Time `xorm:"updated" json:"updated_At"` DeletedAt time.Time `json:"deleted_At"` }
Model base model definition, including fields `ID`, `CreatedAt`, `UpdatedAt`, `DeletedAt`, which could be embedded in your models
type User struct { gorm.Model }
Click to show internal directories.
Click to hide internal directories.