Categorygithub.com/mikaellindemann/templateloader
modulepackage
0.1.2
Repository: https://github.com/mikaellindemann/templateloader.git
Documentation: pkg.go.dev

# Functions

NewOnRequestLoader creates a Loader that loads and parses the template on each request.
NewPreloader creates a Loader that loads and parses the template when Load is called.

# Interfaces

The Loader describes a common interface for loading html templates that can be used with a HandlerFunc.

# Type aliases

HandlerFunc is an extension to http.HandlerFunc that takes an html template as first argument.