Documentation
¶
Index ¶
- func Convert(inputTemplateFile, definesFromFile string, htmlFuncs map[string]interface{}, ...) error
- func Curl(s string) string
- func CurlyNotMethod(parent, key, full string) interface{}
- func CurlyX(parent, key, full string) interface{}
- func Data(cf CurlyFunc, root *template.Template) interface{}
- func Encurl(cf CurlyFunc, parent Dotted, level int) interface{}
- func Uncurl(s string) string
- type Context
- type Curled
- type CurlyFunc
- type Define
- type Dotted
- type NodeArgs
- type Nota
- type SortableTemplates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurlyNotMethod ¶
func CurlyNotMethod(parent, key, full string) interface{}
Types ¶
type Context ¶
type Dotted ¶
type Dotted struct { Parent *Dotted Leaves []*Dotted // template/parse has nodes, we ought to have leaves Name string Ranged bool Keys []string Decl string }
Dotted is a tree.
type NodeArgs ¶
type NodeArgs struct { Template *template.Template PrefixWords []string Decl []*parse.VariableNode }
type Nota ¶
type Nota map[string]interface{}
Nota is a type of encoded jsx notations for template transplitting.
type SortableTemplates ¶
SortableTemplates is for just sorting.
func (SortableTemplates) Len ¶
func (st SortableTemplates) Len() int
func (SortableTemplates) Less ¶
func (st SortableTemplates) Less(i, j int) bool
func (SortableTemplates) Swap ¶
func (st SortableTemplates) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.