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, stdout *common.Stdout) *HtmlTemplate
func (*HtmlTemplate) RenderCustomHtml ¶
func (tpl *HtmlTemplate) RenderCustomHtml(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, stdout *common.Stdout) *TextTemplate
func (*TextTemplate) RenderCustomText ¶
func (tpl *TextTemplate) RenderCustomText(opts TemplateOptions) ([]byte, error)
func (*TextTemplate) RenderText ¶
func (tpl *TextTemplate) RenderText() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.