Documentation ¶
Index ¶
- func PopulateFuncMap(fm template.FuncMap)
- func ToDefaultString(prefix string, schema *model.Schema) (string, error)
- func ToParamString(prefixVarName string, prefixComplexType string, schema *model.Schema, ...) (string, error)
- func ToReturnString(prefixComplexType string, schema *model.Schema) (string, error)
- func ToTypeRefString(prefix string, schema *model.Schema) (string, error)
- func ToVarString(prefix string, 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 ¶
func ToReturnString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.