engines

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoTextEngine

type GoTextEngine struct {
}

func (GoTextEngine) RenderFile

func (GoTextEngine) RenderFile(srcPath string, dstPath string, data interface{}) error

RenderFile renders srcPath template to dstPath using go text/template engine.

func (GoTextEngine) RenderText

func (GoTextEngine) RenderText(in string, data interface{}) (string, error)

RenderText renders in text using go tex/template engine.

Jump to

Keyboard shortcuts

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