Documentation ¶
Index ¶
- func EvaluateTemplateStringToString(templateContent string, inventory interface{}, funcs template.FuncMap) (string, error)
- func EvaluateTemplateStringToStringWithDelimiter(templateContent string, inventory interface{}, funcs template.FuncMap, ...) (string, error)
- func EvaluateTemplateStringToStringWithDelimiterAndOpts(templateContent string, inventory interface{}, funcs template.FuncMap, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateTemplateStringToString ¶
func EvaluateTemplateStringToString(templateContent string, inventory interface{}, funcs template.FuncMap) (string, error)
EvaluateTemplateStringToString ...
func EvaluateTemplateStringToStringWithDelimiter ¶
func EvaluateTemplateStringToStringWithDelimiter( templateContent string, inventory interface{}, funcs template.FuncMap, delimLeft, delimRight string, ) (string, error)
EvaluateTemplateStringToStringWithDelimiter ...
func EvaluateTemplateStringToStringWithDelimiterAndOpts ¶
func EvaluateTemplateStringToStringWithDelimiterAndOpts( templateContent string, inventory interface{}, funcs template.FuncMap, delimLeft, delimRight string, templateOptions []string, ) (string, error)
EvaluateTemplateStringToStringWithDelimiterAndOpts ...
templateOptions: https://golang.org/pkg/text/template/#Template.Option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.