requests

package
v0.0.0-...-cc7b2e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL