Versions in this module Expand all Collapse all v0 v0.0.1 Jun 17, 2021 Changes in this version + var ErrNotFound = gorm.ErrRecordNotFound + type BasePmapLog struct + EndTime time.Time + EndTimeStamp int64 + FileName string + ID uint + Model string + SN string + Size float32 + StartTime time.Time + StartTimeStamp int64 + func (p *BasePmapLog) TableName() string + type Dao struct + func New(db *gorm.DB) *Dao + func (d *Dao) Close() + func (d *Dao) Ping(c context.Context) error + type UserBaseModel struct + Avatar string + CreatedAt time.Time + Email string + ID uint64 + Password string + Phone int64 + Sex int + UpdatedAt time.Time + Username string + func (u *UserBaseModel) Validate() error