constants

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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