Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormWithUUID ¶
type GormWithUUID struct {
UUID string `gorm:"column:uuid;type:varchar(255);not null"`
}
*
- @Author lvxin0315@163.com
- @Description gorm带uuid
- @Date 3:46 下午 2021/4/14
- @Param
- @return *
func (*GormWithUUID) BeforeCreate ¶
func (m *GormWithUUID) BeforeCreate(tx *gorm.DB) (err error)
Click to show internal directories.
Click to hide internal directories.