Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order struct { Id int64 CustomerId int64 StoreId int64 SellerId int64 Phone string Address string Price float64 DeliveryId int64 Status int64 Created int64 Updated int64 Deleted int64 Version int64 Products []OrderProduct `db:"-"` }
func CreateOrder ¶
type OrderDelivery ¶
type OrderDelivery struct { Id int64 Title string Price float64 Created int64 Updated int64 Deleted int64 Version int64 }
func CreateDelivery ¶
func GetDelivery ¶
func GetDelivery(db *gorp.DbMap, deliveryid int64) (OrderDelivery, error)
Click to show internal directories.
Click to hide internal directories.