productstest

package
v0.0.0-...-ae06870 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDraft

func CopyDraft(t *testing.T, c *ent.Draft) *ent.Draft

func Init

func Init(gDraftLines *GoldenDraftLines, gDrafts *GoldenDrafts, gProducts *GoldenProducts, gPbUsers *GoldenPbUsers, gPbImages *GoldenPbImages)

func SetStage

func SetStage(t *testing.T, s *ent.Draft, st stage.Stage) *ent.Draft

Types

type GoldenDraftLines

type GoldenDraftLines struct {
	Foo *variadicDraftLines `json:"foo,omitempty"`
	Bar *variadicDraftLines `json:"bar,omitempty"`
}

type GoldenDrafts

type GoldenDrafts struct {
	Foo *ent.Draft `json:"foo,omitempty"`
	Bar *ent.Draft `json:"bar,omitempty"`
}

type GoldenPbImages

type GoldenPbImages struct {
	Foo *pbimages.Image
	Bar *pbimages.Image
}

type GoldenPbUsers

type GoldenPbUsers struct {
	Consumers *variadicPbUsers `json:"consumers,omitempty"`
	Merchants *variadicPbUsers `json:"merchants,omitempty"`
}

type GoldenProducts

type GoldenProducts struct {
	Foo *variadicProducts `json:"foo,omitempty"`
	Bar *variadicProducts `json:"bar,omitempty"`
}

Jump to

Keyboard shortcuts

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