Documentation ¶
Index ¶
- Constants
- func PopulateFuncMap(fm template.FuncMap)
- func ToDefaultString(prefix string, schema *model.Schema) (string, error)
- func ToParamString(prefix string, schema *model.Schema, name string) (string, error)
- func ToReturnString(prefix string, schema *model.Schema) (string, error)
- func ToTypeRefString(prefix string, schema *model.Schema) (string, error)
- func ToVarString(node *model.TypedNode) (string, error)
Constants ¶
View Source
const GPL_LIC = `` /* 659-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func PopulateFuncMap ¶
PopulateFuncMap fills the given FuncMap with the functions from this package.
func ToDefaultString ¶
ToDefaultString returns the default value for a type
func ToParamString ¶
func ToTypeRefString ¶ added in v0.17.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.