template

package
v0.0.0-...-7e06a17 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	StaticFiles(file string) ([]byte, error)
	RenderFile(file string, data interface{}) ([]byte, error)
}

Manager implements a html template management.

func NewTemplateManager

func NewTemplateManager() Manager

NewTemplateManager creates a new instance of a Manager.

Jump to

Keyboard shortcuts

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