catalog-service/src/internal/app/definition/catalog.go
Piotr Biernat 27b1f1fb35
Some checks failed
continuous-integration/drone/push Build is failing
:Huge REFACTORING
2022-11-29 22:40:58 +01:00

18 lines
345 B
Go

package definition
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"`
}