goengine

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() gtemplate.FuncMap

FuncMap returns a mapping of all of the functions that Engine has.

Because some functions are late-bound (e.g. contain context-sensitive data), the functions may not all perform identically outside of an Engine as they will inside of an Engine.

Known late-bound functions:

  • "include": This is late-bound in Engine.Render(). The version included in the FuncMap is a placeholder.
  • "required": This is late-bound in Engine.Render(). The version included in the FuncMap is a placeholder.
  • "tpl": This is late-bound in Engine.Render(). The version included in the FuncMap is a placeholder.

func New

func New(name string) engine.Engine

New returns a new instance of a go template engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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