Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCatalogItemRequest ¶
type CreateCatalogItemRequest struct { Name string `json:"name" validate:"required,min=2,max=128"` Description string `json:"description" validate:"required,min=2,max=1024"` Price float32 `json:"price" validate:"required"` }
func (*CreateCatalogItemRequest) Bind ¶
func (r *CreateCatalogItemRequest) Bind(c *fiber.Ctx, s *services.CatalogService, catalog *models.Catalog, v *validator.Validate) error
Click to show internal directories.
Click to hide internal directories.