Documentation ¶ Index ¶ type Executer func New() Executer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Executer ¶ type Executer interface { // Execute parses and executes a string template against the specified // data object, returning the output string. Execute(template string, data any) (string, error) } Executer is an interface for template execution. func New ¶ func New() Executer New returns a new template execer to execute templates. Source Files ¶ View all Source files template.go Click to show internal directories. Click to hide internal directories.