template

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:37 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorError

func ErrorError(e *template.Error) string

func HTMLEscapeString

func HTMLEscapeString(s string) string

func HTMLEscaper

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

func IsTrue

func IsTrue(val interface{}) (bool, bool)

func JSEscapeString

func JSEscapeString(s string) string

func JSEscaper

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

func Must

func Must(t *template.Template, err error) *template.Template

func New

func New(name string) *template.Template

func ParseFiles

func ParseFiles(filenames ...string) (*template.Template, error)

func ParseGlob

func ParseGlob(pattern string) (*template.Template, error)

func TemplateAddParseTree

func TemplateAddParseTree(t *template.Template, name string, tree *parse.Tree) (*template.Template, error)

func TemplateClone

func TemplateClone(t *template.Template) (*template.Template, error)

func TemplateDefinedTemplates

func TemplateDefinedTemplates(t *template.Template) string

func TemplateDelims

func TemplateDelims(t *template.Template, left, right string) *template.Template

func TemplateExecute

func TemplateExecute(t *template.Template, wr io.Writer, data interface{}) error

func TemplateExecuteTemplate

func TemplateExecuteTemplate(t *template.Template, wr io.Writer, name string, data interface{}) error

func TemplateFuncs

func TemplateFuncs(t *template.Template, funcMap template.FuncMap) *template.Template

func TemplateLookup

func TemplateLookup(t *template.Template, name string) *template.Template

func TemplateName

func TemplateName(t *template.Template) string

func TemplateNew

func TemplateNew(t *template.Template, name string) *template.Template

func TemplateOption

func TemplateOption(t *template.Template, opt ...string) *template.Template

func TemplateParse

func TemplateParse(t *template.Template, text string) (*template.Template, error)

func TemplateParseFiles

func TemplateParseFiles(t *template.Template, filenames ...string) (*template.Template, error)

func TemplateParseGlob

func TemplateParseGlob(t *template.Template, pattern string) (*template.Template, error)

func TemplateTemplates

func TemplateTemplates(t *template.Template) []*template.Template

func URLQueryEscaper

func URLQueryEscaper(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