package
0.0.0-20190322182713-bf6f0a60fce1
Repository: https://github.com/llvm-mirror/llgo.git
Documentation: pkg.go.dev
# Functions
HTMLEscape writes to w the properly escaped HTML equivalent of the plain text data s.
HTMLFormatter formats arbitrary values for HTML.
MustParse is like Parse but panics if the template cannot be parsed.
MustParseFile is like ParseFile but panics if the file cannot be read or the template cannot be parsed.
New creates a new template with the specified formatter map (which may be nil) to define auxiliary functions for formatting variables.
Parse creates a Template with default parameters (such as {} for metacharacters).
ParseFile is a wrapper function that creates a Template with default parameters (such as {} for metacharacters).
StringFormatter formats into the default string representation.
# Type aliases
FormatterMap is the type describing the mapping from formatter names to the functions that implement them.