response

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 GetProductsProductIdResponse

type GetProductsProductIdResponse struct {
	ProductDetailsResponse
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (GetProductsProductIdResponse) Render

type PostProductsResponse

type PostProductsResponse struct {
	ProductDetailsResponse
	CreatedAt time.Time `json:"created_at"`
}

func (PostProductsResponse) Render

type ProductDetailsResponse

type ProductDetailsResponse struct {
	ProductID   string  `json:"product_id"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Price       float32 `json:"price"`
	Stock       int64   `json:"stock"`
	CategoryID  int64   `json:"category_id"`
}

type PutProductsProductIdResponse

type PutProductsProductIdResponse struct {
	ProductDetailsResponse
	UpdatedAt time.Time `json:"updated_at"`
}

func (PutProductsProductIdResponse) Render

Jump to

Keyboard shortcuts

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