Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseModel ¶
type BaseModel struct { CreatedAt time.Time `mapstructure:"created_at" gorm:"column:created_at;type:timestamp;not null"` UpdatedAt time.Time `mapstructure:"updated_at" gorm:"column:updated_at;type:timestamp;not null"` }
BaseModel struct
type BaseModelWithDeleted ¶
type BaseModelWithDeleted struct { BaseModel DeletedAt soft_delete.DeletedAt `mapstructure:"deleted_at" gorm:"column:deleted_at;type:int(11);default:0"` }
BaseModelWithDeleted struct
Click to show internal directories.
Click to hide internal directories.