product

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CategoryFromEntity

func CategoryFromEntity(p *presenter.Presenter, input *entities.Category) openapi.Category

func CategoryListFromEntity

func CategoryListFromEntity(p *presenter.Presenter, input []*entities.Category) openapi.CategoryList

func CategorySliceFromEntity

func CategorySliceFromEntity(p *presenter.Presenter, input []*entities.Category) []openapi.Category

func CategoryToEntity

func CategoryToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Category) (*entities.Category, error)

func ImageFromEntity

func ImageFromEntity(p *presenter.Presenter, input *entities.Image) openapi.Image

func ImageListFromEntity

func ImageListFromEntity(p *presenter.Presenter, input []*entities.Image) openapi.ImageList

func ImageSliceFromEntity

func ImageSliceFromEntity(p *presenter.Presenter, input []*entities.Image) []openapi.Image

func ImageToEntity

func ImageToEntity(p *presenter.Presenter, id uuid.UUID, image openapi.Image) (*entities.Image, error)

func ImageURLsSliceFromEntity

func ImageURLsSliceFromEntity(p *presenter.Presenter, input []*entities.Image) []map[string]string

func ManufacturerFromEntity

func ManufacturerFromEntity(p *presenter.Presenter, input *entities.Manufacturer) openapi.Manufacturer

func ManufacturerListFromEntity

func ManufacturerListFromEntity(p *presenter.Presenter, input []*entities.Manufacturer) openapi.ManufacturerList

func ManufacturerSliceFromEntity

func ManufacturerSliceFromEntity(p *presenter.Presenter, input []*entities.Manufacturer) []openapi.Manufacturer

func ManufacturerToEntity

func ManufacturerToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Manufacturer) *entities.Manufacturer

func ProductFromEntity

func ProductFromEntity(p *presenter.Presenter, input *entities.Product) openapi.Product

func ProductListFromEntity

func ProductListFromEntity(p *presenter.Presenter, input []*entities.Product) openapi.ProductList

func ProductSliceFromEntity

func ProductSliceFromEntity(p *presenter.Presenter, input []*entities.Product) []openapi.Product

func ProductToEntity

func ProductToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Product) (*entities.Product, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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