Documentation ¶
Index ¶
- func CategoryFromEntity(p *presenter.Presenter, input *entities.Category) openapi.Category
- func CategoryListFromEntity(p *presenter.Presenter, input []*entities.Category) openapi.CategoryList
- func CategorySliceFromEntity(p *presenter.Presenter, input []*entities.Category) []openapi.Category
- func CategoryToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Category) (*entities.Category, error)
- func ImageFromEntity(p *presenter.Presenter, input *entities.Image) openapi.Image
- func ImageListFromEntity(p *presenter.Presenter, input []*entities.Image) openapi.ImageList
- func ImageSliceFromEntity(p *presenter.Presenter, input []*entities.Image) []openapi.Image
- func ImageToEntity(p *presenter.Presenter, id uuid.UUID, image openapi.Image) (*entities.Image, error)
- func ImageURLsSliceFromEntity(p *presenter.Presenter, input []*entities.Image) []map[string]string
- func ManufacturerFromEntity(p *presenter.Presenter, input *entities.Manufacturer) openapi.Manufacturer
- func ManufacturerListFromEntity(p *presenter.Presenter, input []*entities.Manufacturer) openapi.ManufacturerList
- func ManufacturerSliceFromEntity(p *presenter.Presenter, input []*entities.Manufacturer) []openapi.Manufacturer
- func ManufacturerToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Manufacturer) *entities.Manufacturer
- func ProductFromEntity(p *presenter.Presenter, input *entities.Product) openapi.Product
- func ProductListFromEntity(p *presenter.Presenter, input []*entities.Product) openapi.ProductList
- func ProductSliceFromEntity(p *presenter.Presenter, input []*entities.Product) []openapi.Product
- func ProductToEntity(p *presenter.Presenter, id uuid.UUID, input openapi.Product) (*entities.Product, error)
- func ResolvedProductFromEntity(p *presenter.Presenter, input *entities.ResolvedProduct) (openapi.ResolvedProduct, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CategoryFromEntity ¶
func CategoryListFromEntity ¶
func CategorySliceFromEntity ¶
func CategoryToEntity ¶
func ImageFromEntity ¶
func ImageListFromEntity ¶
func ImageSliceFromEntity ¶
func ImageToEntity ¶
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 ProductListFromEntity ¶
func ProductSliceFromEntity ¶
func ProductToEntity ¶
func ResolvedProductFromEntity ¶
func ResolvedProductFromEntity(p *presenter.Presenter, input *entities.ResolvedProduct) (openapi.ResolvedProduct, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.