dtos

package
v0.0.0-...-c4ecebc Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateProductRequestDto

type UpdateProductRequestDto struct {
	ProductId   uuid.UUID `json:"-" param:"id"`
	Name        string    `json:"name" validate:"required"`
	Description string    `json:"description"`
	Price       float64   `json:"price" validate:"required"`
}

type UpdateProductResponseDto

type UpdateProductResponseDto struct {
	ProductId uuid.UUID `json:"productId"`
}

Jump to

Keyboard shortcuts

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