Documentation ¶
Index ¶
- func PopulateFuncMap(fm template.FuncMap)
- func ToDefaultString(schema *model.Schema, prefix string) (string, error)
- func ToParamString(prefix string, schema *model.Schema, name string) (string, error)
- func ToPublicVarString(node *model.TypedNode) (string, error)
- func ToReturnString(prefix string, schema *model.Schema) (string, error)
- func ToVarString(node *model.TypedNode) (string, error)
- type GoExtern
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 ToParamString ¶
func ToPublicVarString ¶ added in v0.12.0
func ToReturnString ¶
TODO: need to return error case
Types ¶
Click to show internal directories.
Click to hide internal directories.