Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogResponse ¶
type CatalogResponse struct {
Price float32 `json:"price"`
}
type CheckoutBasketRequest ¶
type CheckoutBasketRequest struct { Address string `json:"address" validate:"required,min=3,max=512"` Email string `json:"email" validate:"required,email"` Name string `json:"name" validate:"required,min=3,max=128"` PhoneNumber string `json:"phoneNumber" validate:"required,min=8,max=512"` }
func (*CheckoutBasketRequest) Bind ¶
func (r *CheckoutBasketRequest) Bind(c *fiber.Ctx, order *CreateOrderRequest, v *validator.Validate) error
type CreateBasketItemRequest ¶
type CreateBasketRequest ¶
type CreateBasketRequest struct {
Items []CreateBasketItemRequest `json:"items" validate:"dive"`
}
type CreateOrderRequest ¶
type UpdateBasketItemRequest ¶
type UpdateBasketRequest ¶
type UpdateBasketRequest struct {
Items []UpdateBasketItemRequest `json:"items" validate:"dive"`
}
Click to show internal directories.
Click to hide internal directories.