Help us shape the future of Go! Take the 2026 Go Developer Survey

templatex

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package templatex renders the operator-configured text templates, such as the SMS message templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderToString

func RenderToString(tmpl string, data map[string]any) (string, error)

RenderToString executes the text/template tmpl with data. A template that fails to parse or execute is an error rather than a partial text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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