Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { ID uuid.UUID `json:"_id" gorm:"primaryKey;autoIncrement:false"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Base contains common columns for all tables
func (*Base) AfterUpdate ¶
AfterUpdate will update the Base struct after every update
Click to show internal directories.
Click to hide internal directories.