Versions in this module Expand all Collapse all v1 v1.0.1 Oct 10, 2017 Changes in this version + var DefaultDirOptions = DirOptions + var DefaultOptions = Options + var FuncMap = template.FuncMap + func Compile(input string, options Options) (*template.Template, error) + func CompileData(input []byte, filename string, options Options) (*template.Template, error) + func CompileDir(dirname string, dopt DirOptions, opt Options) (map[string]*template.Template, error) + func CompileFile(filename string, options Options) (*template.Template, error) + func MustCompile(input string, options Options) *template.Template + func MustCompileDir(dirname string, dopt DirOptions, opt Options) map[string]*template.Template + func MustCompileFile(filename string, options Options) *template.Template + type Compiler struct + func New() *Compiler + func (c *Compiler) Compile() (*template.Template, error) + func (c *Compiler) CompileString() (string, error) + func (c *Compiler) CompileWithName(name string) (*template.Template, error) + func (c *Compiler) CompileWithTemplate(t *template.Template) (*template.Template, error) + func (c *Compiler) CompileWriter(out io.Writer) (err error) + func (c *Compiler) Parse(input string) (err error) + func (c *Compiler) ParseData(input []byte, filename string) (err error) + func (c *Compiler) ParseFile(filename string) (err error) + type DirOptions struct + Ext string + Recursive bool + type Options struct + LineNumbers bool + PrettyPrint bool + VirtualFilesystem http.FileSystem