templates

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Embed embed.FS

Functions

func LoadTemplate

func LoadTemplate(name string) (*template.Template, error)

LoadTemplate returns a parsed template from the embedded FS.

func MustLoadTemplate

func MustLoadTemplate(name string) *template.Template

MustLoadTemplate calls LoadTemplate but panics if parsing fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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