Documentation ¶
Index ¶
- func GetCollectionTypes(field *Field) (map[string]*ViewScope, error)
- func GetFieldArgVar(field *Field) string
- func GetPath(field *Field) string
- func GetRootMethodReceiver(field *Field) string
- func New(config generator.Config, contentTypes content.Types) (generator.Generator, error)
- type Field
- type ViewScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldArgVar ¶
GetFieldArgVar is currently only used with field collections. It returns one of two values nil or args. If the root parent is a FieldCollection it returns args which is filled during template rendering
func GetRootMethodReceiver ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.