Documentation ¶
Index ¶
- 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 ToVarString(node *model.TypedNode) (string, error)
Constants ¶
This section is empty.
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.