backend

package
v0.0.0-...-cf45389 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader(opts ...LoaderOption) (*Loader, error)

func (*Loader) ReadFile

func (l *Loader) ReadFile(path string) ([]byte, error)

func (*Loader) Template

func (l *Loader) Template(path string) (*template.Template, error)

type LoaderOption

type LoaderOption func(*Loader)

func LoaderLogger

func LoaderLogger(logger logging.Logger) LoaderOption

type Template

type Template struct {
	// contains filtered or unexported fields
}

func (*Template) Template

func (t *Template) Template(file string) (*template.Template, error)

Jump to

Keyboard shortcuts

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