Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type Order ¶
type Order struct { gorm.Model OrderId int64 `json:"order_id"` UserId int64 `json:"user_id"` Address string `json:"address"` ProductId int64 `json:"product_id"` StockNum int64 `json:"stock_num"` ProductSnapshot string `json:"product_snapshot"` Status int64 `json:"status"` }
func ListOrders ¶
Click to show internal directories.
Click to hide internal directories.