fixtures

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageConfigString = "300_200_FILL"
	ImageConfigQuery  = "img=" + ImageConfigString
)
View Source
const (
	CategoryID     = "1e8d3b8d-fde6-4a66-ace2-14451f46607e"
	EventID        = "fbf8ce5a-5e53-40b6-9a67-7a01862fa51f"
	ImageID        = "ac63a8a0-a24a-4e26-a0c8-f08799d56dd1"
	ManufacturerID = "eb2b656a-0451-4b1a-8ea7-35f213160b29"
	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 Config added in v0.3.0

func Config() config.Config

func Content added in v0.3.0

func Content() *entities.Content

func ContentListOpenAPI added in v0.3.0

func ContentListOpenAPI() *openapi.ContentList

func ContentOpenAPI added in v0.3.0

func ContentOpenAPI() *openapi.Content

func ContentOpenAPISlice added in v0.3.0

func ContentOpenAPISlice() []openapi.Content

func ContentSlice added in v0.3.0

func ContentSlice() []*entities.Content

func Event added in v0.3.0

func Event() *entities.Event

func EventListOpenAPI added in v0.3.0

func EventListOpenAPI() *openapi.EventList

func EventOpenAPI added in v0.3.0

func EventOpenAPI() *openapi.Event

func EventOpenAPISlice added in v0.3.0

func EventOpenAPISlice() []openapi.Event

func EventSlice added in v0.3.0

func EventSlice() []*entities.Event

func Image

func Image() *entities.Image

func ImageConfig

func ImageConfig() imageproxy.ImageConfig

func ImageConfigMap

func ImageConfigMap() map[string]imageproxy.ImageConfig

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