Documentation ¶
Index ¶
- func PopulateFuncMap(fm template.FuncMap)
- func ToDefaultString(schema *model.Schema, prefix string) (string, error)
- func ToParamString(schema *model.Schema, name string, prefix string) (string, error)
- func ToReturnString(schema *model.Schema, prefix string) (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.