templates

package
v8.5.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamTemplate

func StreamTemplate(qw422016 *qt422016.Writer, p Partial)

func Template

func Template(p Partial) string

func WriteTemplate

func WriteTemplate(qq422016 qtio422016.Writer, p Partial)

Types

type Base

type Base struct{}

func (*Base) Body

func (b *Base) Body() string

func (*Base) StreamBody

func (b *Base) StreamBody(qw422016 *qt422016.Writer)

func (*Base) WriteBody

func (b *Base) WriteBody(qq422016 qtio422016.Writer)

type Hello

type Hello struct {
	Vars map[string]interface{}
}

func (*Hello) Body

func (h *Hello) Body() string

func (*Hello) StreamBody

func (h *Hello) StreamBody(qw422016 *qt422016.Writer)

func (*Hello) WriteBody

func (h *Hello) WriteBody(qq422016 qtio422016.Writer)

type Index

type Index struct{}

func (*Index) Body

func (i *Index) Body() string

func (*Index) StreamBody

func (i *Index) StreamBody(qw422016 *qt422016.Writer)

func (*Index) WriteBody

func (i *Index) WriteBody(qq422016 qtio422016.Writer)

type Partial

type Partial interface {
	//line base.qtpl:4
	Body() string
	//line base.qtpl:4
	StreamBody(qw422016 *qt422016.Writer)
	//line base.qtpl:4
	WriteBody(qq422016 qtio422016.Writer)
}

Jump to

Keyboard shortcuts

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