template

package
v0.0.0-...-f91a3ff Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(t *template.Template, err error) *template.Template

func ParseFiles

func ParseFiles(filenames ...string) (*template.Template, error)

func RenderTemplate

func RenderTemplate(name, defaultStr string, data map[string]interface{}) (string, error)

func TryParse

func TryParse(text string) (*template.Template, bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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