Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HtmlTemplate ¶
type HtmlTemplate struct {
Template
// contains filtered or unexported fields
}
func NewHtmlTemplate ¶
func NewHtmlTemplate(options TemplateOptions) *HtmlTemplate
func (*HtmlTemplate) CustomRenderHtml ¶ added in v0.4.4
func (tpl *HtmlTemplate) CustomRenderHtml(opts TemplateOptions) ([]byte, error)
func (*HtmlTemplate) RenderHtml ¶
func (tpl *HtmlTemplate) RenderHtml() ([]byte, error)
type TemplateOptions ¶
type TextTemplate ¶
type TextTemplate struct {
Template
// contains filtered or unexported fields
}
func NewTextTemplate ¶
func NewTextTemplate(options TemplateOptions) *TextTemplate
func (*TextTemplate) CustomRenderText ¶ added in v0.4.4
func (tpl *TextTemplate) CustomRenderText(opts TemplateOptions) ([]byte, error)
func (*TextTemplate) RenderText ¶
func (tpl *TextTemplate) RenderText() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.