parse

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLeftDelim  = "{{"
	DefaultRightDelim = "}}"
)

Default mustache delimeters

Variables

This section is empty.

Functions

func Parse

func Parse(name, src, leftDelim, rightDelim string) (*ast.Tree, error)

Parse transforms a template string into a tree of nodes. If an error is encountered, parsing stops and the error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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