Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Service expose serviceProvider.
Service *serviceProvider
)
Functions ¶
This section is empty.
Types ¶
type Cart ¶
type Cart struct { ID uint32 `gorm:"column:id;primary_key;auto_increment" json:"id"` UserId uint32 `gorm:"column:userid;not null" json:"user_id"` WareId uint32 `gorm:"column:wareid;not null" json:"ware_id"` Count uint8 `gorm:"column:count;not null;default:0" json:"count"` Created time.Time `gorm:"column:created" json:"created"` }
Click to show internal directories.
Click to hide internal directories.