template

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() (*template.Template, error)

Types

type Renderer

type Renderer interface {
	Execute(w io.Writer, name string, data any) error
}

type Templates

type Templates struct {
	T *template.Template
}

func (Templates) Execute

func (t Templates) Execute(w io.Writer, name string, data any) error

Jump to

Keyboard shortcuts

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