templatify

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoTemplatify

type GoTemplatify struct {
	// contains filtered or unexported fields
}

GoTemplatify is using go built-in template engine

func NewGoTemplatify

func NewGoTemplatify(tempDir string) *GoTemplatify

func (GoTemplatify) ApplyTemplate

func (g GoTemplatify) ApplyTemplate(templateData string, data interface{}) (string, error)

type TemplateError

type TemplateError struct {
	Processed bool
	// contains filtered or unexported fields
}

type Templatify

type Templatify interface {
	ApplyTemplate(templateData string, data interface{}) (string, error)
}

Jump to

Keyboard shortcuts

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