Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Skip = errors.New("field skipped")
Skip is an error that is returned by the ParseField for ignoring a field.
Functions ¶
func Parse ¶
func Parse(ctx *models.FieldableContext) error
func ParseEnvironment ¶
func ParseEnvironment(ctx *EnvironmentContext) (*models.Environment, error)
Types ¶
type EnvironmentContext ¶
type EnvironmentContext struct { Reporter reporters.Reporter InputPkg *myasthurts.Package OutputPkg *myasthurts.Package Fieldables []*models.Fieldable FieldableMap map[string]*models.Fieldable Imports *models.CtxImports ModelsImports *models.CtxImports }
type SchemaFieldModifier ¶
type SchemaFieldModifier func() string
Click to show internal directories.
Click to hide internal directories.