views

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageContext

type PageContext struct {
	CanonicalURL *url.URL
	Environment  string
	UserId       string
	UserEmail    string
}

type Template

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

func NewRenderer

func NewRenderer(templateFilesPattern string) (*Template, error)

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, ctx echo.Context) error

Jump to

Keyboard shortcuts

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