temple

package module
v0.0.0-...-60be61e Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 5 Imported by: 0

README

temple

A html/template wrapper for golang which contains hot-reload

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	*fsnotify.Watcher
	// contains filtered or unexported fields
}

func NewHot

func NewHot(pattern string, t *template.Template) (*Watcher, error)

func (*Watcher) WatchWorker

func (w *Watcher) WatchWorker()

Jump to

Keyboard shortcuts

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