Documentation ¶
Index ¶
- func Render(data string, context ...interface{}) string
- func RenderFile(filename string, context ...interface{}) string
- func RenderFileInLayout(filename string, layoutFile string, context ...interface{}) string
- func RenderInLayout(data string, layoutData string, context ...interface{}) string
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderFile ¶
func RenderFileInLayout ¶
func RenderInLayout ¶
Types ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func ParseString ¶
func (*Template) GetTemplateVariables ¶
func (*Template) RenderInLayout ¶
Click to show internal directories.
Click to hide internal directories.