Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶ added in v1.0.17
type Cache struct { Id int64 `json:"id"` // 编码 Key string `json:"key"` // 键 Value string `json:"value"` // 值 Expiration int64 `json:"expiration"` // 到期 }
缓存
type Mdl ¶
type Mdl struct { Id int64 `gorm:"primaryKey;autoIncrement:false" json:"id"` // 编码 CreatedAt time.Time `gorm:"" json:"createdAt"` // 创建时间 UpdatedAt time.Time `gorm:"" json:"updatedAt"` // 更新时间 DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间 }
模型
func (*Mdl) MarshalBinary ¶
func (*Mdl) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.