templates

package
v0.0.0-...-d124ba8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GalleryTemplateContext

type GalleryTemplateContext struct {
	RelativePath string
}

type Template

type Template struct {
	*template.Template
}

func GetTemplate

func GetTemplate(name string) (*Template, error)

func (*Template) ServeTemplate

func (t *Template) ServeTemplate(data interface{}, w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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