This commit is contained in:
PB
2022-12-18 20:51:26 +01:00
commit 40cc715898
11 changed files with 85 additions and 0 deletions

17
http/catalog.go Normal file
View File

@@ -0,0 +1,17 @@
package http
type AddProductToBasketRequest struct {
ProductID int `json:"product_id"`
}
type ProductAddToBasketResponse struct {
BasketID string `json:"basket_id"`
}
type RemoveProductFromBasketRequest struct {
ProductID int `json:"product_id"`
}
type RemoveProductFromBasketResponse struct {
BasketID string `json:"basket_id"`
}