mustache

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindVariables

func FindVariables(content string) []string

Returns all the variable names inside of the content

func Render

func Render(template string, variables map[string]string) string

Renders a mustache template string with the "name" parameter.

func RenderFile

func RenderFile(path string, variables map[string]string) string

Renders a mustache template file with the "name" parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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