libs

package
v0.0.0-...-f324cb5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2013 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Viewer

func Viewer(templateFile string) func(http.ResponseWriter, interface{})

Types

type TemplateCache

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

func NewTemplateCache

func NewTemplateCache() *TemplateCache

func (*TemplateCache) Get

func (t *TemplateCache) Get(templateFile string) (*template.Template, error)

func (*TemplateCache) HasCache

func (t *TemplateCache) HasCache(templateFile string) bool

func (*TemplateCache) ParseFiles

func (t *TemplateCache) ParseFiles(templateFile string) (*template.Template, error)

Jump to

Keyboard shortcuts

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