funcs

package
v0.0.0-...-510411a Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Funcs = map[string]interface{}{
	"and":   And,
	"or":    Or,
	"not":   Not,
	"eq":    Eq,
	"ne":    Ne,
	"lt":    Lt,
	"le":    Le,
	"gt":    Gt,
	"ge":    Ge,
	"index": Index,
	"len":   Length,
	"call":  Call,

	"html":     Html,
	"js":       Js,
	"urlquery": Urlquery,
	"print":    Print,
	"printf":   Printf,
	"println":  Println,

	"_html_template_attrescaper":     Attrescaper,
	"_html_template_commentescaper":  Commentescaper,
	"_html_template_cssescaper":      Cssescaper,
	"_html_template_cssvaluefilter":  Cssvaluefilter,
	"_html_template_htmlnamefilter":  Htmlnamefilter,
	"_html_template_htmlescaper":     Htmlescaper,
	"_html_template_jsregexpescaper": Jsregexpescaper,
	"_html_template_jsstrescaper":    Jsstrescaper,
	"_html_template_jsvalescaper":    Jsvalescaper,
	"_html_template_nospaceescaper":  Htmlnospaceescaper,
	"_html_template_rcdataescaper":   Rcdataescaper,
	"_html_template_urlescaper":      Urlescaper,
	"_html_template_urlfilter":       Urlfilter,
	"_html_template_urlnormalizer":   Urlnormalizer,
}

Functions

func And

func And(arg0 interface{}, args ...interface{}) interface{}

func Attrescaper

func Attrescaper(args ...interface{}) string

func Call

func Call(fn interface{}, args ...interface{}) (interface{}, error)

func Commentescaper

func Commentescaper(args ...interface{}) string

func Cssescaper

func Cssescaper(args ...interface{}) string

func Cssvaluefilter

func Cssvaluefilter(args ...interface{}) string

func Eq

func Eq(arg1 interface{}, arg2 ...interface{}) (bool, error)

func Ge

func Ge(arg1, arg2 interface{}) (bool, error)

func Gt

func Gt(arg1, arg2 interface{}) (bool, error)

func Html

func Html(args ...interface{}) string

func Htmlescaper

func Htmlescaper(args ...interface{}) string

func Htmlnamefilter

func Htmlnamefilter(args ...interface{}) string

func Htmlnospaceescaper

func Htmlnospaceescaper(args ...interface{}) string

func Index

func Index(item interface{}, indices ...interface{}) (interface{}, error)

func Js

func Js(args ...interface{}) string

func Jsregexpescaper

func Jsregexpescaper(args ...interface{}) string

func Jsstrescaper

func Jsstrescaper(args ...interface{}) string

func Jsvalescaper

func Jsvalescaper(args ...interface{}) string

func Le

func Le(arg1, arg2 interface{}) (bool, error)

func Length

func Length(item interface{}) (int, error)

func Lt

func Lt(arg1, arg2 interface{}) (bool, error)

func Ne

func Ne(arg1, arg2 interface{}) (bool, error)

func Not

func Not(arg interface{}) bool

func Or

func Or(arg0 interface{}, args ...interface{}) interface{}

func Print

func Print(a ...interface{}) string

func Printf

func Printf(format string, a ...interface{}) string

func Println

func Println(a ...interface{}) string

func Rcdataescaper

func Rcdataescaper(args ...interface{}) string

func Urlescaper

func Urlescaper(args ...interface{}) string

func Urlfilter

func Urlfilter(args ...interface{}) string

func Urlnormalizer

func Urlnormalizer(args ...interface{}) string

func Urlquery

func Urlquery(args ...interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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