Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericTemplate ¶
type GenericTemplate struct {
// contains filtered or unexported fields
}
func New ¶
func New(name string, html bool) *GenericTemplate
func NewHTML ¶
func NewHTML(name string) *GenericTemplate
func NewText ¶
func NewText(name string) *GenericTemplate
func (*GenericTemplate) Execute ¶
func (tmpl *GenericTemplate) Execute(wr io.Writer, data interface{}) error
func (*GenericTemplate) Parse ¶
func (tmpl *GenericTemplate) Parse(text string) (*GenericTemplate, error)
Click to show internal directories.
Click to hide internal directories.