Versions in this module Expand all Collapse all v1 v1.1.0 Jul 29, 2021 Changes in this version + type ModelInt struct + CreatedTime time.Time + ID int + IsActive bool + UpdatedTime time.Time + func (m ModelInt) BeforeCreate(scope *gorm.Scope) error + func (m ModelInt) BeforeDelete(scope *gorm.Scope) (err error) + func (m ModelInt) BeforeUpdate(scope *gorm.Scope) (err error) + type ModelUUID struct + CreatedTime time.Time + ID uuid.GUID + IsActive bool + UpdatedTime time.Time + func (m ModelUUID) BeforeCreate(scope *gorm.Scope) error + func (m ModelUUID) BeforeDelete(scope *gorm.Scope) (err error) + func (m ModelUUID) BeforeUpdate(scope *gorm.Scope) (err error)