request

package
v0.0.0-...-d552a0f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostProductsRequest

type PostProductsRequest ProductDetailsRequest

func (PostProductsRequest) Bind

func (req PostProductsRequest) Bind(r *http.Request) error

type ProductDetailsRequest

type ProductDetailsRequest struct {
	Name        string  `json:"name"`
	Description string  `json:"description,omitempty"`
	Price       float32 `json:"price"`
	Stock       int64   `json:"stock"`
	CategoryID  int64   `json:"category_id"`
}

func (ProductDetailsRequest) Bind

func (req ProductDetailsRequest) Bind(r *http.Request) error

type PutProductsProductIdRequest

type PutProductsProductIdRequest PostProductsRequest

func (PutProductsProductIdRequest) Bind

Jump to

Keyboard shortcuts

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