template

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRender

func MustRender(template string, data interface{}) (string, func() error)

func Render

func Render(template string, data interface{}) (string, func() error, error)

func RenderToFile

func RenderToFile(path string, tmpl string, data interface{}) error

RenderToFile re-renders a template with new data to an existing file path. This is useful for updating previously rendered templates after flag parsing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL