Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBookToCart ¶
AddBookToCart ...
func DeleteProductFromCart ¶
DeleteProductFromCart ...
Types ¶
type CartsResponse ¶
type CartsResponse struct { ID bson.ObjectId `json:"id"` Amount int `json:"amount"` BookID bson.ObjectId `json:"book_id"` Title string `json:"title"` Description string `json:"description"` Price uint64 `json:"price"` DiscountPrice uint64 `json:"discount_price"` }
CartsResponse ...
func GetAllCartsInfo ¶
func GetAllCartsInfo(customerID string) ([]CartsResponse, error)
GetAllCartsInfo ...
Click to show internal directories.
Click to hide internal directories.