Versions in this module Expand all Collapse all v0 v0.4.0 Jan 15, 2022 Changes in this version + func URLExampleData() string + func URLModelsYML() string + func URLPermission() string + func Unmarshal(r io.Reader) (map[string]Model, error) + type AttributeGenericRelation struct + To ToGeneric + func (r AttributeGenericRelation) List() bool + func (r AttributeGenericRelation) ToCollections() []ToCollectionField + type AttributeRelation struct + To To + func (r AttributeRelation) List() bool + func (r AttributeRelation) ToCollections() []ToCollectionField + type AttributeTemplate struct + Fields Field + Replacement string + type Field struct + Required bool + Template *AttributeTemplate + Type string + func (f *Field) Relation() Relation + func (f *Field) RestrictionMode() string + func (f *Field) UnmarshalYAML(value *yaml.Node) error + type Model struct + Fields map[string]*Field + func (m *Model) UnmarshalYAML(node *yaml.Node) error + type Relation interface + List func() bool + ToCollections func() []ToCollectionField + type To struct + CollectionField ToCollectionField + func (t *To) UnmarshalYAML(value *yaml.Node) error + type ToCollectionField struct + Collection string + ToField ToField + func (t *ToCollectionField) UnmarshalYAML(value *yaml.Node) error + type ToField struct + Name string + Type string + func (t *ToField) UnmarshalYAML(value *yaml.Node) error + type ToGeneric struct + CollectionFields []ToCollectionField + func (t *ToGeneric) UnmarshalYAML(value *yaml.Node) error