Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplateFuncs template.FuncMap = template.FuncMap{
"toYAML": marshalYAML,
"indent": indent,
"nindent": nindent,
"toBytes": toBytes,
"toBase64": toBase64,
}
Functions ¶
func RenderAndDecode ¶ added in v1.9.0
Types ¶
type ObjectTemplate ¶ added in v1.9.0
func ParseObjectTemplate ¶ added in v1.9.0
func ParseObjectTemplateOrDie ¶ added in v1.9.0
func (*ObjectTemplate[T]) RenderObject ¶ added in v1.9.0
func (t *ObjectTemplate[T]) RenderObject(inputs any) (T, string, error)
Click to show internal directories.
Click to hide internal directories.