Documentation ¶ Index ¶ type Template func New(s string) (Template, error) func NewForTest(t *testing.T, s string) Template func (tpl *Template) Empty() bool func (tpl *Template) Execute(param interface{}) (string, error) func (tpl *Template) UnmarshalYAML(unmarshal func(interface{}) error) error 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 New ¶ func New(s string) (Template, error) func NewForTest ¶ func NewForTest(t *testing.T, s string) Template func (*Template) Empty ¶ func (tpl *Template) Empty() bool func (*Template) Execute ¶ func (tpl *Template) Execute(param interface{}) (string, error) func (*Template) UnmarshalYAML ¶ func (tpl *Template) UnmarshalYAML(unmarshal func(interface{}) error) error Source Files ¶ View all Source files template.go Click to show internal directories. Click to hide internal directories.