template

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

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

func NewTemplate

func NewTemplate(raw string) *Template

func (*Template) Execute

func (tpl *Template) Execute(param interface{}) (string, error)

func (*Template) Parse

func (tpl *Template) Parse() error

func (*Template) UnmarshalYAML

func (tpl *Template) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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