Documentation ¶
Overview ¶
Code generated by carrier, DO NOT EDIT.
Index ¶
- func EntCategoryMetaFactory() *factory.EntCategoryMetaFactory
- func EntIngredientMetaFactory() *factory.EntIngredientMetaFactory
- func EntRecipeIngredientMetaFactory() *factory.EntRecipeIngredientMetaFactory
- func EntRecipeMetaFactory() *factory.EntRecipeMetaFactory
- func EntStepMetaFactory() *factory.EntStepMetaFactory
- func EntUserMetaFactory() *factory.EntUserMetaFactory
- type EntFactory
- func (f *EntFactory) CategoryFactory() *factory.EntCategoryFactory
- func (f *EntFactory) Client() *ent.Client
- func (f *EntFactory) IngredientFactory() *factory.EntIngredientFactory
- func (f *EntFactory) RecipeFactory() *factory.EntRecipeFactory
- func (f *EntFactory) RecipeIngredientFactory() *factory.EntRecipeIngredientFactory
- func (f *EntFactory) SetCategoryFactory(c *factory.EntCategoryFactory) *EntFactory
- func (f *EntFactory) SetIngredientFactory(c *factory.EntIngredientFactory) *EntFactory
- func (f *EntFactory) SetRecipeFactory(c *factory.EntRecipeFactory) *EntFactory
- func (f *EntFactory) SetRecipeIngredientFactory(c *factory.EntRecipeIngredientFactory) *EntFactory
- func (f *EntFactory) SetStepFactory(c *factory.EntStepFactory) *EntFactory
- func (f *EntFactory) SetUserFactory(c *factory.EntUserFactory) *EntFactory
- func (f *EntFactory) StepFactory() *factory.EntStepFactory
- func (f *EntFactory) UserFactory() *factory.EntUserFactory
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntCategoryMetaFactory ¶
func EntCategoryMetaFactory() *factory.EntCategoryMetaFactory
EntCategoryMetaFactory return a new meta factory with given ent client
func EntIngredientMetaFactory ¶
func EntIngredientMetaFactory() *factory.EntIngredientMetaFactory
EntIngredientMetaFactory return a new meta factory with given ent client
func EntRecipeIngredientMetaFactory ¶
func EntRecipeIngredientMetaFactory() *factory.EntRecipeIngredientMetaFactory
EntRecipeIngredientMetaFactory return a new meta factory with given ent client
func EntRecipeMetaFactory ¶
func EntRecipeMetaFactory() *factory.EntRecipeMetaFactory
EntRecipeMetaFactory return a new meta factory with given ent client
func EntStepMetaFactory ¶
func EntStepMetaFactory() *factory.EntStepMetaFactory
EntStepMetaFactory return a new meta factory with given ent client
func EntUserMetaFactory ¶
func EntUserMetaFactory() *factory.EntUserMetaFactory
EntUserMetaFactory return a new meta factory with given ent client
Types ¶
type EntFactory ¶
type EntFactory struct {
// contains filtered or unexported fields
}
EntFactory is ent factory wrapper
func NewEntFactory ¶
func NewEntFactory(client *ent.Client) *EntFactory
NewEntFactory return a new ent factory wrapper
func (*EntFactory) CategoryFactory ¶
func (f *EntFactory) CategoryFactory() *factory.EntCategoryFactory
CategoryFactory return the EntCategoryFactory in wrapper
func (*EntFactory) Client ¶
func (f *EntFactory) Client() *ent.Client
Client return wrappper's ent client
func (*EntFactory) IngredientFactory ¶
func (f *EntFactory) IngredientFactory() *factory.EntIngredientFactory
IngredientFactory return the EntIngredientFactory in wrapper
func (*EntFactory) RecipeFactory ¶
func (f *EntFactory) RecipeFactory() *factory.EntRecipeFactory
RecipeFactory return the EntRecipeFactory in wrapper
func (*EntFactory) RecipeIngredientFactory ¶
func (f *EntFactory) RecipeIngredientFactory() *factory.EntRecipeIngredientFactory
RecipeIngredientFactory return the EntRecipeIngredientFactory in wrapper
func (*EntFactory) SetCategoryFactory ¶
func (f *EntFactory) SetCategoryFactory(c *factory.EntCategoryFactory) *EntFactory
SetCategoryFactory set a factory in wrapper
func (*EntFactory) SetIngredientFactory ¶
func (f *EntFactory) SetIngredientFactory(c *factory.EntIngredientFactory) *EntFactory
SetIngredientFactory set a factory in wrapper
func (*EntFactory) SetRecipeFactory ¶
func (f *EntFactory) SetRecipeFactory(c *factory.EntRecipeFactory) *EntFactory
SetRecipeFactory set a factory in wrapper
func (*EntFactory) SetRecipeIngredientFactory ¶
func (f *EntFactory) SetRecipeIngredientFactory(c *factory.EntRecipeIngredientFactory) *EntFactory
SetRecipeIngredientFactory set a factory in wrapper
func (*EntFactory) SetStepFactory ¶
func (f *EntFactory) SetStepFactory(c *factory.EntStepFactory) *EntFactory
SetStepFactory set a factory in wrapper
func (*EntFactory) SetUserFactory ¶
func (f *EntFactory) SetUserFactory(c *factory.EntUserFactory) *EntFactory
SetUserFactory set a factory in wrapper
func (*EntFactory) StepFactory ¶
func (f *EntFactory) StepFactory() *factory.EntStepFactory
StepFactory return the EntStepFactory in wrapper
func (*EntFactory) UserFactory ¶
func (f *EntFactory) UserFactory() *factory.EntUserFactory
UserFactory return the EntUserFactory in wrapper