carrier

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by carrier, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntCarMetaFactory

func EntCarMetaFactory() *factory.EntCarMetaFactory

EntCarMetaFactory return a new meta factory with given ent client

func EntGroupMetaFactory

func EntGroupMetaFactory() *factory.EntGroupMetaFactory

EntGroupMetaFactory 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 *ten.Client) *EntFactory

NewEntFactory return a new ent factory wrapper

func (*EntFactory) CarFactory

func (f *EntFactory) CarFactory() *factory.EntCarFactory

CarFactory return the EntCarFactory in wrapper

func (*EntFactory) Client

func (f *EntFactory) Client() *ten.Client

Client return wrappper's ent client

func (*EntFactory) GroupFactory

func (f *EntFactory) GroupFactory() *factory.EntGroupFactory

GroupFactory return the EntGroupFactory in wrapper

func (*EntFactory) SetCarFactory

func (f *EntFactory) SetCarFactory(c *factory.EntCarFactory) *EntFactory

SetCarFactory set a factory in wrapper

func (*EntFactory) SetGroupFactory

func (f *EntFactory) SetGroupFactory(c *factory.EntGroupFactory) *EntFactory

SetGroupFactory set a factory in wrapper

func (*EntFactory) SetUserFactory

func (f *EntFactory) SetUserFactory(c *factory.EntUserFactory) *EntFactory

SetUserFactory set a factory in wrapper

func (*EntFactory) UserFactory

func (f *EntFactory) UserFactory() *factory.EntUserFactory

UserFactory return the EntUserFactory in wrapper

type Factory

type Factory struct {
}

Factory is struct factory wrapper

func NewFactory

func NewFactory() *Factory

NewFactory return a new struct factory wrapper

Directories

Path Synopsis
Code generated by carrier, DO NOT EDIT.
Code generated by carrier, DO NOT EDIT.

Jump to

Keyboard shortcuts

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