Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FakeDataFunc = "faker.FakeData" // faker library faker data func SuiteCaseType = "factories.TestSuite" SuiteCaseVariable = "s" // instance of suite case SuiteNoErrorFunc = "NoError" // error check func for suite case FactoryNewFuncName = "New" SkipStructFields = map[string]struct{}{"Edges": {}} Perm = 0o777 DefaultAppPath = "service/app" DefaultFactoryPath = "factories" DefaultEntClientName = "EntClient" DefaultModelPath = "spec/schema" ImportTime = "time" IgnoreFolderNames = []string{ "enttest", "hook", "migrate", "partnerregister", "predicate", "runtime", "schema", } // schema is the old version(0.10.X) ent generated )
View Source
var ( ErrDisableAllowed = errors.New("embedded fields disallowed") ErrNotDefinition = errors.New("could not find struct type in definition file") ErrCanNotGen = errors.New("cannot generate for fields whose type is imported") ErrNoFiled = errors.New("no fields in struct (aside from ignored errors)") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.