render

package
v0.0.0-...-69154b6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLRenderer

type HTMLRenderer struct {
	LayoutDir    string // layout dir name
	ComponentDir string // component dir name
	TemplateDir  string // template dir
	Suffix       string // template file suffix

	Compress bool // compress html result
	// contains filtered or unexported fields
}

func (*HTMLRenderer) Init

func (s *HTMLRenderer) Init(funcMap template.FuncMap)

func (*HTMLRenderer) Render

func (s *HTMLRenderer) Render(w io.Writer, name string, data interface{}) error

Jump to

Keyboard shortcuts

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