Documentation
¶
Index ¶
- func AttributeEnumDecl(attribute spec.AttributeTypeEnum) string
- func BuildAttributes(e *spec.Element) func() (*template.Template, ImportSet)
- func SourceHeader(w io.Writer, pkg string, e *spec.Element, children ...TemplateFunc) error
- type ImportSet
- func AttributeBaseFunc() (*template.Template, ImportSet)
- func BaseCondFunc() (*template.Template, ImportSet)
- func BaseFunc() (*template.Template, ImportSet)
- func BaseStruct() (*template.Template, ImportSet)
- func BaseTernaryFunc() (*template.Template, ImportSet)
- func RenderFunc() (*template.Template, ImportSet)
- type TemplateFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeEnumDecl ¶
func AttributeEnumDecl(attribute spec.AttributeTypeEnum) string
func SourceHeader ¶
Types ¶
type ImportSet ¶
type ImportSet map[string]struct{}
func AttributeBaseFunc ¶
func BaseCondFunc ¶
func BaseStruct ¶
func BaseTernaryFunc ¶
func RenderFunc ¶
type TemplateFunc ¶
Click to show internal directories.
Click to hide internal directories.