runtime

package
v0.0.0-...-607e132 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FuncMap template.FuncMap = template.FuncMap{
	"__pug_binaryop":     Binary,
	"__pug_unaryop":      Unary,
	"__pug_nil":          Nil,
	"__pug_slice":        Slice,
	"__pug_map":          Map,
	"__pug_unescape":     Unescape,
	"__pug_unescapeattr": UnescapeAttr,
	"__pug_classnames":   ClassNames,
	"__pug_style":        Style,
}

Functions

func Binary

func Binary(op string, x, y interface{}) (interface{}, error)

func ClassNames

func ClassNames(vars ...interface{}) (string, error)

func Map

func Map(variables ...interface{}) (pugmap, error)

func Nil

func Nil() interface{}

func Slice

func Slice(variables ...interface{}) interface{}

func Style

func Style(val interface{}) interface{}

func Unary

func Unary(op string, x interface{}) interface{}

func Unescape

func Unescape(val string) template.HTML

func UnescapeAttr

func UnescapeAttr(name, val string) template.HTMLAttr

Types

This section is empty.

Jump to

Keyboard shortcuts

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