templates

package
v0.0.0-...-67c8daa Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	*template.Template
}

Template wraps template.Template to provide a simpler interface.

var (
	Game     Template
	Index    Template
	NotFound Template
)

func (Template) ExecuteFull

func (t Template) ExecuteFull(w io.Writer, data any) error

func (Template) ExecutePartial

func (t Template) ExecutePartial(w io.Writer, data any) error

Jump to

Keyboard shortcuts

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