template

package
v0.0.0-...-477ec8c Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorTemplate

type ErrorTemplate struct {
	Err error
}

func (*ErrorTemplate) Render

func (tmpl *ErrorTemplate) Render(ctx context.Context, w io.Writer)

type IndexTemplate

type IndexTemplate struct{}

func (*IndexTemplate) Render

func (tmpl *IndexTemplate) Render(ctx context.Context, w io.Writer)

type WidgetIndexTemplate

type WidgetIndexTemplate struct {
	Widgets []*tinyego.Widget
	Filter  tinyego.WidgetFilter
}

func (*WidgetIndexTemplate) Render

func (tmpl *WidgetIndexTemplate) Render(ctx context.Context, w io.Writer)

Jump to

Keyboard shortcuts

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