Documentation
¶
Index ¶
- func DatatypeMap(dt, ndt map[string]string) map[string]interface{}
- func FullFuncMap(dt, ntd map[string]string) template.FuncMap
- func FuncMap(flist ...template.FuncMap) template.FuncMap
- func Incrementer(i int) int
- func LanguageMap(lang *models.LanguageDefinition) template.FuncMap
- func SimpleFuncMap() template.FuncMap
- func StandardMap() template.FuncMap
- func StringMap() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatatypeMap ¶
func Incrementer ¶
func LanguageMap ¶ added in v3.1.0
func LanguageMap(lang *models.LanguageDefinition) template.FuncMap
LanguageMap returns the template functions that depend on the language definition of the template
imports - the sorted, unique imports the columns need: {{ range imports .Columns }}
safe - adds an underscore to a name that is reserved in the language: {{ .Name | camel | safe }}
lang can be nil, imports then returns nothing and safe returns the name as it is
func SimpleFuncMap ¶
func StandardMap ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.