Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CssTemplate ¶ added in v0.9.0
type CssTemplate struct {
goht.SlotTemplate
}
func (*CssTemplate) Slot ¶ added in v0.9.0
func (t *CssTemplate) Slot(name string, templates ...goht.Template) *CssTemplate
Slot sets a named slot for CssTemplate and returns a new instance.
func (*CssTemplate) WithChildren ¶ added in v0.9.0
func (t *CssTemplate) WithChildren(templates ...goht.Template) *CssTemplate
WithChildren sets the "children" slot for CssTemplate.
type EscapedTemplate ¶ added in v0.9.0
type EscapedTemplate struct {
goht.SlotTemplate
}
func Escaped ¶
func Escaped() *EscapedTemplate
Escaped returns a new instance of EscapedTemplate. Slots: children.
func (*EscapedTemplate) Slot ¶ added in v0.9.0
func (t *EscapedTemplate) Slot(name string, templates ...goht.Template) *EscapedTemplate
Slot sets a named slot for EscapedTemplate and returns a new instance.
func (*EscapedTemplate) WithChildren ¶ added in v0.9.0
func (t *EscapedTemplate) WithChildren(templates ...goht.Template) *EscapedTemplate
WithChildren sets the "children" slot for EscapedTemplate.
type HamlCssTemplate ¶ added in v0.9.0
type HamlCssTemplate struct {
goht.SlotTemplate
}
func HamlCss ¶ added in v0.6.0
func HamlCss() *HamlCssTemplate
HamlCss returns a new instance of HamlCssTemplate. Slots: children.
func (*HamlCssTemplate) Slot ¶ added in v0.9.0
func (t *HamlCssTemplate) Slot(name string, templates ...goht.Template) *HamlCssTemplate
Slot sets a named slot for HamlCssTemplate and returns a new instance.
func (*HamlCssTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlCssTemplate) WithChildren(templates ...goht.Template) *HamlCssTemplate
WithChildren sets the "children" slot for HamlCssTemplate.
type HamlEscapedTemplate ¶ added in v0.9.0
type HamlEscapedTemplate struct {
goht.SlotTemplate
}
func HamlEscaped ¶ added in v0.6.0
func HamlEscaped() *HamlEscapedTemplate
HamlEscaped returns a new instance of HamlEscapedTemplate. Slots: children.
func (*HamlEscapedTemplate) Slot ¶ added in v0.9.0
func (t *HamlEscapedTemplate) Slot(name string, templates ...goht.Template) *HamlEscapedTemplate
Slot sets a named slot for HamlEscapedTemplate and returns a new instance.
func (*HamlEscapedTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlEscapedTemplate) WithChildren(templates ...goht.Template) *HamlEscapedTemplate
WithChildren sets the "children" slot for HamlEscapedTemplate.
type HamlJavaScriptTemplate ¶ added in v0.9.0
type HamlJavaScriptTemplate struct {
goht.SlotTemplate
}
func HamlJavaScript ¶ added in v0.6.0
func HamlJavaScript() *HamlJavaScriptTemplate
HamlJavaScript returns a new instance of HamlJavaScriptTemplate. Slots: children.
func (*HamlJavaScriptTemplate) Slot ¶ added in v0.9.0
func (t *HamlJavaScriptTemplate) Slot(name string, templates ...goht.Template) *HamlJavaScriptTemplate
Slot sets a named slot for HamlJavaScriptTemplate and returns a new instance.
func (*HamlJavaScriptTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlJavaScriptTemplate) WithChildren(templates ...goht.Template) *HamlJavaScriptTemplate
WithChildren sets the "children" slot for HamlJavaScriptTemplate.
type HamlPlainTemplate ¶ added in v0.9.0
type HamlPlainTemplate struct {
goht.SlotTemplate
}
func HamlPlain ¶ added in v0.6.0
func HamlPlain() *HamlPlainTemplate
HamlPlain returns a new instance of HamlPlainTemplate. Slots: children.
func (*HamlPlainTemplate) Slot ¶ added in v0.9.0
func (t *HamlPlainTemplate) Slot(name string, templates ...goht.Template) *HamlPlainTemplate
Slot sets a named slot for HamlPlainTemplate and returns a new instance.
func (*HamlPlainTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlPlainTemplate) WithChildren(templates ...goht.Template) *HamlPlainTemplate
WithChildren sets the "children" slot for HamlPlainTemplate.
type HamlPreserveTemplate ¶ added in v0.9.0
type HamlPreserveTemplate struct {
goht.SlotTemplate
}
func HamlPreserve ¶ added in v0.6.0
func HamlPreserve() *HamlPreserveTemplate
HamlPreserve returns a new instance of HamlPreserveTemplate. Slots: children.
func (*HamlPreserveTemplate) Slot ¶ added in v0.9.0
func (t *HamlPreserveTemplate) Slot(name string, templates ...goht.Template) *HamlPreserveTemplate
Slot sets a named slot for HamlPreserveTemplate and returns a new instance.
func (*HamlPreserveTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlPreserveTemplate) WithChildren(templates ...goht.Template) *HamlPreserveTemplate
WithChildren sets the "children" slot for HamlPreserveTemplate.
type JavaScriptTemplate ¶ added in v0.9.0
type JavaScriptTemplate struct {
goht.SlotTemplate
}
func JavaScript ¶
func JavaScript() *JavaScriptTemplate
JavaScript returns a new instance of JavaScriptTemplate. Slots: children.
func (*JavaScriptTemplate) Slot ¶ added in v0.9.0
func (t *JavaScriptTemplate) Slot(name string, templates ...goht.Template) *JavaScriptTemplate
Slot sets a named slot for JavaScriptTemplate and returns a new instance.
func (*JavaScriptTemplate) WithChildren ¶ added in v0.9.0
func (t *JavaScriptTemplate) WithChildren(templates ...goht.Template) *JavaScriptTemplate
WithChildren sets the "children" slot for JavaScriptTemplate.
type PlainTemplate ¶ added in v0.9.0
type PlainTemplate struct {
goht.SlotTemplate
}
func Plain ¶
func Plain() *PlainTemplate
Plain returns a new instance of PlainTemplate. Slots: children.
func (*PlainTemplate) Slot ¶ added in v0.9.0
func (t *PlainTemplate) Slot(name string, templates ...goht.Template) *PlainTemplate
Slot sets a named slot for PlainTemplate and returns a new instance.
func (*PlainTemplate) WithChildren ¶ added in v0.9.0
func (t *PlainTemplate) WithChildren(templates ...goht.Template) *PlainTemplate
WithChildren sets the "children" slot for PlainTemplate.
type PreserveTemplate ¶ added in v0.9.0
type PreserveTemplate struct {
goht.SlotTemplate
}
func Preserve ¶
func Preserve() *PreserveTemplate
Preserve returns a new instance of PreserveTemplate. Slots: children.
func (*PreserveTemplate) Slot ¶ added in v0.9.0
func (t *PreserveTemplate) Slot(name string, templates ...goht.Template) *PreserveTemplate
Slot sets a named slot for PreserveTemplate and returns a new instance.
func (*PreserveTemplate) WithChildren ¶ added in v0.9.0
func (t *PreserveTemplate) WithChildren(templates ...goht.Template) *PreserveTemplate
WithChildren sets the "children" slot for PreserveTemplate.
type SlimCssTemplate ¶ added in v0.9.0
type SlimCssTemplate struct {
goht.SlotTemplate
}
func SlimCss ¶ added in v0.6.0
func SlimCss() *SlimCssTemplate
SlimCss returns a new instance of SlimCssTemplate. Slots: children.
func (*SlimCssTemplate) Slot ¶ added in v0.9.0
func (t *SlimCssTemplate) Slot(name string, templates ...goht.Template) *SlimCssTemplate
Slot sets a named slot for SlimCssTemplate and returns a new instance.
func (*SlimCssTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimCssTemplate) WithChildren(templates ...goht.Template) *SlimCssTemplate
WithChildren sets the "children" slot for SlimCssTemplate.
type SlimJavaScriptTemplate ¶ added in v0.9.0
type SlimJavaScriptTemplate struct {
goht.SlotTemplate
}
func SlimJavaScript ¶ added in v0.6.0
func SlimJavaScript() *SlimJavaScriptTemplate
SlimJavaScript returns a new instance of SlimJavaScriptTemplate. Slots: children.
func (*SlimJavaScriptTemplate) Slot ¶ added in v0.9.0
func (t *SlimJavaScriptTemplate) Slot(name string, templates ...goht.Template) *SlimJavaScriptTemplate
Slot sets a named slot for SlimJavaScriptTemplate and returns a new instance.
func (*SlimJavaScriptTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimJavaScriptTemplate) WithChildren(templates ...goht.Template) *SlimJavaScriptTemplate
WithChildren sets the "children" slot for SlimJavaScriptTemplate.