assets

package
v0.0.0-...-1c93661 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScriptHandlers = map[string]http.Handler{
		"jquery.js": jquery,
		"app.js":    app,
	}
	StylesheetHandlers = map[string]http.Handler{
		"styles.css":  styles,
		"basscss.css": basscss,
	}
	Templates = map[string]Template{
		"review.html":        review,
		"reviews.html":       reviews,
		"signup.html":        signup,
		"login.html":         login,
		"mail_comments.html": mail_comments,
	}
)

Functions

This section is empty.

Types

type Template

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

func (Template) Execute

func (t Template) Execute(w io.Writer, data interface{}) error

Wrap template.Template so we can conveniently reload the template from disk while developing. Embeds any scripts or stylesheets.

Jump to

Keyboard shortcuts

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