fixtures

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CategoryID = "a0a49412-fdb8-4325-a395-228dc99e2d71"
View Source
const ImageConfigQuery = "img=" + ImageConfigString
View Source
const ImageConfigString = "300_200_FILL"
View Source
const ImageID = "ac63a8a0-a24a-4e26-a0c8-f08799d56dd1"
View Source
const ManufacturerID = "4ca1d686-75ff-44f6-9345-b8eee0cb7c0d"
View Source
const ProductID = "8692c633-af6d-4531-8435-de8f145770f8"

Variables

This section is empty.

Functions

func Category

func Category() *entities.Category

func CategoryListOpenAPI

func CategoryListOpenAPI() *openapi.CategoryList

func CategoryOpenAPI

func CategoryOpenAPI() *openapi.Category

func CategoryOpenAPISlice

func CategoryOpenAPISlice() []openapi.Category

func CategorySlice

func CategorySlice() []*entities.Category

func Image

func Image() *entities.Image

func ImageConfig

func ImageConfig() imageproxy.ImageConfig

func ImageConfigMap

func ImageConfigMap() map[string]imageproxy.ImageConfig

func ImageListOpenAPI

func ImageListOpenAPI() *openapi.ImageList

func ImageOpenAPI

func ImageOpenAPI() *openapi.Image

func ImageOpenAPISlice

func ImageOpenAPISlice() []openapi.Image

func ImageSlice

func ImageSlice() []*entities.Image

func Manufacturer

func Manufacturer() *entities.Manufacturer

func ManufacturerListOpenAPI

func ManufacturerListOpenAPI() *openapi.ManufacturerList

func ManufacturerOpenAPI

func ManufacturerOpenAPI() *openapi.Manufacturer

func ManufacturerOpenAPISlice

func ManufacturerOpenAPISlice() []openapi.Manufacturer

func ManufacturerSlice

func ManufacturerSlice() []*entities.Manufacturer

func MultipartMultipleFiles

func MultipartMultipleFiles() (*bytes.Buffer, *multipart.Writer)

func MultipartMultipleFilesMap

func MultipartMultipleFilesMap() map[string][]byte

func MultipartSingleFile

func MultipartSingleFile() (*bytes.Buffer, *multipart.Writer)

func MultipartSingleFileMap

func MultipartSingleFileMap() map[string][]byte

func Product

func Product() *entities.Product

func ProductListOpenAPI

func ProductListOpenAPI() *openapi.ProductList

func ProductOpenAPI

func ProductOpenAPI() *openapi.Product

func ProductOpenAPISlice

func ProductOpenAPISlice() []openapi.Product

func ProductSlice

func ProductSlice() []*entities.Product

func ResolvedProduct

func ResolvedProduct() *entities.ResolvedProduct

func ResolvedProductOpenAPI

func ResolvedProductOpenAPI() *openapi.ResolvedProduct

Types

This section is empty.

Jump to

Keyboard shortcuts

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