app

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ENGINE_NAME = "jet"

ENGINE_NAME is

Variables

This section is empty.

Functions

This section is empty.

Types

type JetEngine

type JetEngine struct {
	CaseInsensitive bool
	// contains filtered or unexported fields
}

JetEngine is

func (*JetEngine) ConvertPath

func (engine *JetEngine) ConvertPath(path string) string

ConvertPath is

func (*JetEngine) Event

func (engine *JetEngine) Event(event revel.Event, i interface{})

Event is

func (*JetEngine) Handles

func (engine *JetEngine) Handles(templateView *revel.TemplateView) bool

Handles is check that engine can handle it

func (*JetEngine) Lookup

func (engine *JetEngine) Lookup(templateName string) revel.Template

Lookup is

func (*JetEngine) Name

func (engine *JetEngine) Name() string

Name is

func (*JetEngine) ParseAndAdd

func (engine *JetEngine) ParseAndAdd(templateView *revel.TemplateView) error

ParseAndAdd is

type JetTemplate

type JetTemplate struct {
	*revel.TemplateView
	// contains filtered or unexported fields
}

JetTemplate is Adapter for Go Templates.

func (JetTemplate) Name

func (tmpl JetTemplate) Name() string

Name is

func (JetTemplate) Render

func (tmpl JetTemplate) Render(wr io.Writer, arg interface{}) error

Render is A bit trick of an implementation If the arg contains an ace_inner field then that will be used to fetch a new template

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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