Documentation
¶
Index ¶
- type AlsoSelfClosingTemplate
- type CombinedTemplate
- type DefaultToDivsTemplate
- type Foo
- type HamlAlsoSelfClosingTemplate
- type HamlCombinedTemplate
- type HamlDefaultToDivsTemplate
- type HamlMultipleClassesTemplate
- type HamlObjectRefsTemplate
- type HamlPrefixedObjectRefsTemplate
- type HamlRemoveWhitespaceTemplate
- type HamlSelfClosingTemplate
- type HamlSpecifyTagTemplate
- type HamlWhitespaceTemplate
- type MultipleClassesTemplate
- type ObjectRefsTemplate
- type PrefixedObjectRefsTemplate
- type RemoveWhitespaceTemplate
- type SelfClosingTemplate
- type SlimAddWhitespaceTemplate
- type SlimAlsoSelfClosingTemplate
- type SlimCombinedTemplate
- type SlimDefaultToDivsTemplate
- type SlimInlineTagsTemplate
- type SlimMultipleClassesTemplate
- type SlimSelfClosingTemplate
- type SlimSpecifyTagTemplate
- type SlimWhitespaceTemplate
- type SpecifyTagTemplate
- type WhitespaceTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlsoSelfClosingTemplate ¶ added in v0.9.0
type AlsoSelfClosingTemplate struct {
goht.SlotTemplate
}
func AlsoSelfClosing ¶
func AlsoSelfClosing() *AlsoSelfClosingTemplate
AlsoSelfClosing returns a new instance of AlsoSelfClosingTemplate. Slots: children.
func (*AlsoSelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *AlsoSelfClosingTemplate) Slot(name string, templates ...goht.Template) *AlsoSelfClosingTemplate
Slot sets a named slot for AlsoSelfClosingTemplate and returns a new instance.
func (*AlsoSelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *AlsoSelfClosingTemplate) WithChildren(templates ...goht.Template) *AlsoSelfClosingTemplate
WithChildren sets the "children" slot for AlsoSelfClosingTemplate.
type CombinedTemplate ¶ added in v0.9.0
type CombinedTemplate struct {
goht.SlotTemplate
}
func Combined ¶
func Combined() *CombinedTemplate
Combined returns a new instance of CombinedTemplate. Slots: children.
func (*CombinedTemplate) Slot ¶ added in v0.9.0
func (t *CombinedTemplate) Slot(name string, templates ...goht.Template) *CombinedTemplate
Slot sets a named slot for CombinedTemplate and returns a new instance.
func (*CombinedTemplate) WithChildren ¶ added in v0.9.0
func (t *CombinedTemplate) WithChildren(templates ...goht.Template) *CombinedTemplate
WithChildren sets the "children" slot for CombinedTemplate.
type DefaultToDivsTemplate ¶ added in v0.9.0
type DefaultToDivsTemplate struct {
goht.SlotTemplate
}
func DefaultToDivs ¶
func DefaultToDivs() *DefaultToDivsTemplate
DefaultToDivs returns a new instance of DefaultToDivsTemplate. Slots: children.
func (*DefaultToDivsTemplate) Slot ¶ added in v0.9.0
func (t *DefaultToDivsTemplate) Slot(name string, templates ...goht.Template) *DefaultToDivsTemplate
Slot sets a named slot for DefaultToDivsTemplate and returns a new instance.
func (*DefaultToDivsTemplate) WithChildren ¶ added in v0.9.0
func (t *DefaultToDivsTemplate) WithChildren(templates ...goht.Template) *DefaultToDivsTemplate
WithChildren sets the "children" slot for DefaultToDivsTemplate.
type HamlAlsoSelfClosingTemplate ¶ added in v0.9.0
type HamlAlsoSelfClosingTemplate struct {
goht.SlotTemplate
}
func HamlAlsoSelfClosing ¶ added in v0.6.0
func HamlAlsoSelfClosing() *HamlAlsoSelfClosingTemplate
HamlAlsoSelfClosing returns a new instance of HamlAlsoSelfClosingTemplate. Slots: children.
func (*HamlAlsoSelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *HamlAlsoSelfClosingTemplate) Slot(name string, templates ...goht.Template) *HamlAlsoSelfClosingTemplate
Slot sets a named slot for HamlAlsoSelfClosingTemplate and returns a new instance.
func (*HamlAlsoSelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlAlsoSelfClosingTemplate) WithChildren(templates ...goht.Template) *HamlAlsoSelfClosingTemplate
WithChildren sets the "children" slot for HamlAlsoSelfClosingTemplate.
type HamlCombinedTemplate ¶ added in v0.9.0
type HamlCombinedTemplate struct {
goht.SlotTemplate
}
func HamlCombined ¶ added in v0.6.0
func HamlCombined() *HamlCombinedTemplate
HamlCombined returns a new instance of HamlCombinedTemplate. Slots: children.
func (*HamlCombinedTemplate) Slot ¶ added in v0.9.0
func (t *HamlCombinedTemplate) Slot(name string, templates ...goht.Template) *HamlCombinedTemplate
Slot sets a named slot for HamlCombinedTemplate and returns a new instance.
func (*HamlCombinedTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlCombinedTemplate) WithChildren(templates ...goht.Template) *HamlCombinedTemplate
WithChildren sets the "children" slot for HamlCombinedTemplate.
type HamlDefaultToDivsTemplate ¶ added in v0.9.0
type HamlDefaultToDivsTemplate struct {
goht.SlotTemplate
}
func HamlDefaultToDivs ¶ added in v0.6.0
func HamlDefaultToDivs() *HamlDefaultToDivsTemplate
HamlDefaultToDivs returns a new instance of HamlDefaultToDivsTemplate. Slots: children.
func (*HamlDefaultToDivsTemplate) Slot ¶ added in v0.9.0
func (t *HamlDefaultToDivsTemplate) Slot(name string, templates ...goht.Template) *HamlDefaultToDivsTemplate
Slot sets a named slot for HamlDefaultToDivsTemplate and returns a new instance.
func (*HamlDefaultToDivsTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlDefaultToDivsTemplate) WithChildren(templates ...goht.Template) *HamlDefaultToDivsTemplate
WithChildren sets the "children" slot for HamlDefaultToDivsTemplate.
type HamlMultipleClassesTemplate ¶ added in v0.9.0
type HamlMultipleClassesTemplate struct {
goht.SlotTemplate
}
func HamlMultipleClasses ¶ added in v0.6.0
func HamlMultipleClasses() *HamlMultipleClassesTemplate
HamlMultipleClasses returns a new instance of HamlMultipleClassesTemplate. Slots: children.
func (*HamlMultipleClassesTemplate) Slot ¶ added in v0.9.0
func (t *HamlMultipleClassesTemplate) Slot(name string, templates ...goht.Template) *HamlMultipleClassesTemplate
Slot sets a named slot for HamlMultipleClassesTemplate and returns a new instance.
func (*HamlMultipleClassesTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlMultipleClassesTemplate) WithChildren(templates ...goht.Template) *HamlMultipleClassesTemplate
WithChildren sets the "children" slot for HamlMultipleClassesTemplate.
type HamlObjectRefsTemplate ¶ added in v0.9.0
type HamlObjectRefsTemplate struct {
goht.SlotTemplate
}
func HamlObjectRefs ¶ added in v0.6.0
func HamlObjectRefs(obj Foo) *HamlObjectRefsTemplate
HamlObjectRefs returns a new instance of HamlObjectRefsTemplate. Slots: children.
func (*HamlObjectRefsTemplate) Slot ¶ added in v0.9.0
func (t *HamlObjectRefsTemplate) Slot(name string, templates ...goht.Template) *HamlObjectRefsTemplate
Slot sets a named slot for HamlObjectRefsTemplate and returns a new instance.
func (*HamlObjectRefsTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlObjectRefsTemplate) WithChildren(templates ...goht.Template) *HamlObjectRefsTemplate
WithChildren sets the "children" slot for HamlObjectRefsTemplate.
type HamlPrefixedObjectRefsTemplate ¶ added in v0.9.0
type HamlPrefixedObjectRefsTemplate struct {
goht.SlotTemplate
}
func HamlPrefixedObjectRefs ¶ added in v0.6.0
func HamlPrefixedObjectRefs(obj Foo) *HamlPrefixedObjectRefsTemplate
HamlPrefixedObjectRefs returns a new instance of HamlPrefixedObjectRefsTemplate. Slots: children.
func (*HamlPrefixedObjectRefsTemplate) Slot ¶ added in v0.9.0
func (t *HamlPrefixedObjectRefsTemplate) Slot(name string, templates ...goht.Template) *HamlPrefixedObjectRefsTemplate
Slot sets a named slot for HamlPrefixedObjectRefsTemplate and returns a new instance.
func (*HamlPrefixedObjectRefsTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlPrefixedObjectRefsTemplate) WithChildren(templates ...goht.Template) *HamlPrefixedObjectRefsTemplate
WithChildren sets the "children" slot for HamlPrefixedObjectRefsTemplate.
type HamlRemoveWhitespaceTemplate ¶ added in v0.9.0
type HamlRemoveWhitespaceTemplate struct {
goht.SlotTemplate
}
func HamlRemoveWhitespace ¶ added in v0.6.0
func HamlRemoveWhitespace() *HamlRemoveWhitespaceTemplate
HamlRemoveWhitespace returns a new instance of HamlRemoveWhitespaceTemplate. Slots: children.
func (*HamlRemoveWhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *HamlRemoveWhitespaceTemplate) Slot(name string, templates ...goht.Template) *HamlRemoveWhitespaceTemplate
Slot sets a named slot for HamlRemoveWhitespaceTemplate and returns a new instance.
func (*HamlRemoveWhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlRemoveWhitespaceTemplate) WithChildren(templates ...goht.Template) *HamlRemoveWhitespaceTemplate
WithChildren sets the "children" slot for HamlRemoveWhitespaceTemplate.
type HamlSelfClosingTemplate ¶ added in v0.9.0
type HamlSelfClosingTemplate struct {
goht.SlotTemplate
}
func HamlSelfClosing ¶ added in v0.6.0
func HamlSelfClosing() *HamlSelfClosingTemplate
HamlSelfClosing returns a new instance of HamlSelfClosingTemplate. Slots: children.
func (*HamlSelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *HamlSelfClosingTemplate) Slot(name string, templates ...goht.Template) *HamlSelfClosingTemplate
Slot sets a named slot for HamlSelfClosingTemplate and returns a new instance.
func (*HamlSelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlSelfClosingTemplate) WithChildren(templates ...goht.Template) *HamlSelfClosingTemplate
WithChildren sets the "children" slot for HamlSelfClosingTemplate.
type HamlSpecifyTagTemplate ¶ added in v0.9.0
type HamlSpecifyTagTemplate struct {
goht.SlotTemplate
}
func HamlSpecifyTag ¶ added in v0.6.0
func HamlSpecifyTag() *HamlSpecifyTagTemplate
HamlSpecifyTag returns a new instance of HamlSpecifyTagTemplate. Slots: children.
func (*HamlSpecifyTagTemplate) Slot ¶ added in v0.9.0
func (t *HamlSpecifyTagTemplate) Slot(name string, templates ...goht.Template) *HamlSpecifyTagTemplate
Slot sets a named slot for HamlSpecifyTagTemplate and returns a new instance.
func (*HamlSpecifyTagTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlSpecifyTagTemplate) WithChildren(templates ...goht.Template) *HamlSpecifyTagTemplate
WithChildren sets the "children" slot for HamlSpecifyTagTemplate.
type HamlWhitespaceTemplate ¶ added in v0.9.0
type HamlWhitespaceTemplate struct {
goht.SlotTemplate
}
func HamlWhitespace ¶ added in v0.6.0
func HamlWhitespace() *HamlWhitespaceTemplate
HamlWhitespace returns a new instance of HamlWhitespaceTemplate. Slots: children.
func (*HamlWhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *HamlWhitespaceTemplate) Slot(name string, templates ...goht.Template) *HamlWhitespaceTemplate
Slot sets a named slot for HamlWhitespaceTemplate and returns a new instance.
func (*HamlWhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlWhitespaceTemplate) WithChildren(templates ...goht.Template) *HamlWhitespaceTemplate
WithChildren sets the "children" slot for HamlWhitespaceTemplate.
type MultipleClassesTemplate ¶ added in v0.9.0
type MultipleClassesTemplate struct {
goht.SlotTemplate
}
func MultipleClasses ¶
func MultipleClasses() *MultipleClassesTemplate
MultipleClasses returns a new instance of MultipleClassesTemplate. Slots: children.
func (*MultipleClassesTemplate) Slot ¶ added in v0.9.0
func (t *MultipleClassesTemplate) Slot(name string, templates ...goht.Template) *MultipleClassesTemplate
Slot sets a named slot for MultipleClassesTemplate and returns a new instance.
func (*MultipleClassesTemplate) WithChildren ¶ added in v0.9.0
func (t *MultipleClassesTemplate) WithChildren(templates ...goht.Template) *MultipleClassesTemplate
WithChildren sets the "children" slot for MultipleClassesTemplate.
type ObjectRefsTemplate ¶ added in v0.9.0
type ObjectRefsTemplate struct {
goht.SlotTemplate
}
func ObjectRefs ¶
func ObjectRefs(obj Foo) *ObjectRefsTemplate
ObjectRefs returns a new instance of ObjectRefsTemplate. Slots: children.
func (*ObjectRefsTemplate) Slot ¶ added in v0.9.0
func (t *ObjectRefsTemplate) Slot(name string, templates ...goht.Template) *ObjectRefsTemplate
Slot sets a named slot for ObjectRefsTemplate and returns a new instance.
func (*ObjectRefsTemplate) WithChildren ¶ added in v0.9.0
func (t *ObjectRefsTemplate) WithChildren(templates ...goht.Template) *ObjectRefsTemplate
WithChildren sets the "children" slot for ObjectRefsTemplate.
type PrefixedObjectRefsTemplate ¶ added in v0.9.0
type PrefixedObjectRefsTemplate struct {
goht.SlotTemplate
}
func PrefixedObjectRefs ¶
func PrefixedObjectRefs(obj Foo) *PrefixedObjectRefsTemplate
PrefixedObjectRefs returns a new instance of PrefixedObjectRefsTemplate. Slots: children.
func (*PrefixedObjectRefsTemplate) Slot ¶ added in v0.9.0
func (t *PrefixedObjectRefsTemplate) Slot(name string, templates ...goht.Template) *PrefixedObjectRefsTemplate
Slot sets a named slot for PrefixedObjectRefsTemplate and returns a new instance.
func (*PrefixedObjectRefsTemplate) WithChildren ¶ added in v0.9.0
func (t *PrefixedObjectRefsTemplate) WithChildren(templates ...goht.Template) *PrefixedObjectRefsTemplate
WithChildren sets the "children" slot for PrefixedObjectRefsTemplate.
type RemoveWhitespaceTemplate ¶ added in v0.9.0
type RemoveWhitespaceTemplate struct {
goht.SlotTemplate
}
func RemoveWhitespace ¶
func RemoveWhitespace() *RemoveWhitespaceTemplate
RemoveWhitespace returns a new instance of RemoveWhitespaceTemplate. Slots: children.
func (*RemoveWhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *RemoveWhitespaceTemplate) Slot(name string, templates ...goht.Template) *RemoveWhitespaceTemplate
Slot sets a named slot for RemoveWhitespaceTemplate and returns a new instance.
func (*RemoveWhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *RemoveWhitespaceTemplate) WithChildren(templates ...goht.Template) *RemoveWhitespaceTemplate
WithChildren sets the "children" slot for RemoveWhitespaceTemplate.
type SelfClosingTemplate ¶ added in v0.9.0
type SelfClosingTemplate struct {
goht.SlotTemplate
}
func SelfClosing ¶
func SelfClosing() *SelfClosingTemplate
SelfClosing returns a new instance of SelfClosingTemplate. Slots: children.
func (*SelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *SelfClosingTemplate) Slot(name string, templates ...goht.Template) *SelfClosingTemplate
Slot sets a named slot for SelfClosingTemplate and returns a new instance.
func (*SelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *SelfClosingTemplate) WithChildren(templates ...goht.Template) *SelfClosingTemplate
WithChildren sets the "children" slot for SelfClosingTemplate.
type SlimAddWhitespaceTemplate ¶ added in v0.9.0
type SlimAddWhitespaceTemplate struct {
goht.SlotTemplate
}
func SlimAddWhitespace ¶ added in v0.6.2
func SlimAddWhitespace() *SlimAddWhitespaceTemplate
SlimAddWhitespace returns a new instance of SlimAddWhitespaceTemplate. Slots: children.
func (*SlimAddWhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *SlimAddWhitespaceTemplate) Slot(name string, templates ...goht.Template) *SlimAddWhitespaceTemplate
Slot sets a named slot for SlimAddWhitespaceTemplate and returns a new instance.
func (*SlimAddWhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimAddWhitespaceTemplate) WithChildren(templates ...goht.Template) *SlimAddWhitespaceTemplate
WithChildren sets the "children" slot for SlimAddWhitespaceTemplate.
type SlimAlsoSelfClosingTemplate ¶ added in v0.9.0
type SlimAlsoSelfClosingTemplate struct {
goht.SlotTemplate
}
func SlimAlsoSelfClosing ¶ added in v0.6.0
func SlimAlsoSelfClosing() *SlimAlsoSelfClosingTemplate
SlimAlsoSelfClosing returns a new instance of SlimAlsoSelfClosingTemplate. Slots: children.
func (*SlimAlsoSelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *SlimAlsoSelfClosingTemplate) Slot(name string, templates ...goht.Template) *SlimAlsoSelfClosingTemplate
Slot sets a named slot for SlimAlsoSelfClosingTemplate and returns a new instance.
func (*SlimAlsoSelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimAlsoSelfClosingTemplate) WithChildren(templates ...goht.Template) *SlimAlsoSelfClosingTemplate
WithChildren sets the "children" slot for SlimAlsoSelfClosingTemplate.
type SlimCombinedTemplate ¶ added in v0.9.0
type SlimCombinedTemplate struct {
goht.SlotTemplate
}
func SlimCombined ¶ added in v0.6.0
func SlimCombined() *SlimCombinedTemplate
SlimCombined returns a new instance of SlimCombinedTemplate. Slots: children.
func (*SlimCombinedTemplate) Slot ¶ added in v0.9.0
func (t *SlimCombinedTemplate) Slot(name string, templates ...goht.Template) *SlimCombinedTemplate
Slot sets a named slot for SlimCombinedTemplate and returns a new instance.
func (*SlimCombinedTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimCombinedTemplate) WithChildren(templates ...goht.Template) *SlimCombinedTemplate
WithChildren sets the "children" slot for SlimCombinedTemplate.
type SlimDefaultToDivsTemplate ¶ added in v0.9.0
type SlimDefaultToDivsTemplate struct {
goht.SlotTemplate
}
func SlimDefaultToDivs ¶ added in v0.6.0
func SlimDefaultToDivs() *SlimDefaultToDivsTemplate
SlimDefaultToDivs returns a new instance of SlimDefaultToDivsTemplate. Slots: children.
func (*SlimDefaultToDivsTemplate) Slot ¶ added in v0.9.0
func (t *SlimDefaultToDivsTemplate) Slot(name string, templates ...goht.Template) *SlimDefaultToDivsTemplate
Slot sets a named slot for SlimDefaultToDivsTemplate and returns a new instance.
func (*SlimDefaultToDivsTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimDefaultToDivsTemplate) WithChildren(templates ...goht.Template) *SlimDefaultToDivsTemplate
WithChildren sets the "children" slot for SlimDefaultToDivsTemplate.
type SlimInlineTagsTemplate ¶ added in v0.9.0
type SlimInlineTagsTemplate struct {
goht.SlotTemplate
}
func SlimInlineTags ¶ added in v0.6.0
func SlimInlineTags() *SlimInlineTagsTemplate
SlimInlineTags returns a new instance of SlimInlineTagsTemplate. Slots: children.
func (*SlimInlineTagsTemplate) Slot ¶ added in v0.9.0
func (t *SlimInlineTagsTemplate) Slot(name string, templates ...goht.Template) *SlimInlineTagsTemplate
Slot sets a named slot for SlimInlineTagsTemplate and returns a new instance.
func (*SlimInlineTagsTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimInlineTagsTemplate) WithChildren(templates ...goht.Template) *SlimInlineTagsTemplate
WithChildren sets the "children" slot for SlimInlineTagsTemplate.
type SlimMultipleClassesTemplate ¶ added in v0.9.0
type SlimMultipleClassesTemplate struct {
goht.SlotTemplate
}
func SlimMultipleClasses ¶ added in v0.6.0
func SlimMultipleClasses() *SlimMultipleClassesTemplate
SlimMultipleClasses returns a new instance of SlimMultipleClassesTemplate. Slots: children.
func (*SlimMultipleClassesTemplate) Slot ¶ added in v0.9.0
func (t *SlimMultipleClassesTemplate) Slot(name string, templates ...goht.Template) *SlimMultipleClassesTemplate
Slot sets a named slot for SlimMultipleClassesTemplate and returns a new instance.
func (*SlimMultipleClassesTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimMultipleClassesTemplate) WithChildren(templates ...goht.Template) *SlimMultipleClassesTemplate
WithChildren sets the "children" slot for SlimMultipleClassesTemplate.
type SlimSelfClosingTemplate ¶ added in v0.9.0
type SlimSelfClosingTemplate struct {
goht.SlotTemplate
}
func SlimSelfClosing ¶ added in v0.6.0
func SlimSelfClosing() *SlimSelfClosingTemplate
SlimSelfClosing returns a new instance of SlimSelfClosingTemplate. Slots: children.
func (*SlimSelfClosingTemplate) Slot ¶ added in v0.9.0
func (t *SlimSelfClosingTemplate) Slot(name string, templates ...goht.Template) *SlimSelfClosingTemplate
Slot sets a named slot for SlimSelfClosingTemplate and returns a new instance.
func (*SlimSelfClosingTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimSelfClosingTemplate) WithChildren(templates ...goht.Template) *SlimSelfClosingTemplate
WithChildren sets the "children" slot for SlimSelfClosingTemplate.
type SlimSpecifyTagTemplate ¶ added in v0.9.0
type SlimSpecifyTagTemplate struct {
goht.SlotTemplate
}
func SlimSpecifyTag ¶ added in v0.6.0
func SlimSpecifyTag() *SlimSpecifyTagTemplate
SlimSpecifyTag returns a new instance of SlimSpecifyTagTemplate. Slots: children.
func (*SlimSpecifyTagTemplate) Slot ¶ added in v0.9.0
func (t *SlimSpecifyTagTemplate) Slot(name string, templates ...goht.Template) *SlimSpecifyTagTemplate
Slot sets a named slot for SlimSpecifyTagTemplate and returns a new instance.
func (*SlimSpecifyTagTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimSpecifyTagTemplate) WithChildren(templates ...goht.Template) *SlimSpecifyTagTemplate
WithChildren sets the "children" slot for SlimSpecifyTagTemplate.
type SlimWhitespaceTemplate ¶ added in v0.9.0
type SlimWhitespaceTemplate struct {
goht.SlotTemplate
}
func SlimWhitespace ¶ added in v0.6.0
func SlimWhitespace() *SlimWhitespaceTemplate
SlimWhitespace returns a new instance of SlimWhitespaceTemplate. Slots: children.
func (*SlimWhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *SlimWhitespaceTemplate) Slot(name string, templates ...goht.Template) *SlimWhitespaceTemplate
Slot sets a named slot for SlimWhitespaceTemplate and returns a new instance.
func (*SlimWhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimWhitespaceTemplate) WithChildren(templates ...goht.Template) *SlimWhitespaceTemplate
WithChildren sets the "children" slot for SlimWhitespaceTemplate.
type SpecifyTagTemplate ¶ added in v0.9.0
type SpecifyTagTemplate struct {
goht.SlotTemplate
}
func SpecifyTag ¶
func SpecifyTag() *SpecifyTagTemplate
SpecifyTag returns a new instance of SpecifyTagTemplate. Slots: children.
func (*SpecifyTagTemplate) Slot ¶ added in v0.9.0
func (t *SpecifyTagTemplate) Slot(name string, templates ...goht.Template) *SpecifyTagTemplate
Slot sets a named slot for SpecifyTagTemplate and returns a new instance.
func (*SpecifyTagTemplate) WithChildren ¶ added in v0.9.0
func (t *SpecifyTagTemplate) WithChildren(templates ...goht.Template) *SpecifyTagTemplate
WithChildren sets the "children" slot for SpecifyTagTemplate.
type WhitespaceTemplate ¶ added in v0.9.0
type WhitespaceTemplate struct {
goht.SlotTemplate
}
func Whitespace ¶
func Whitespace() *WhitespaceTemplate
Whitespace returns a new instance of WhitespaceTemplate. Slots: children.
func (*WhitespaceTemplate) Slot ¶ added in v0.9.0
func (t *WhitespaceTemplate) Slot(name string, templates ...goht.Template) *WhitespaceTemplate
Slot sets a named slot for WhitespaceTemplate and returns a new instance.
func (*WhitespaceTemplate) WithChildren ¶ added in v0.9.0
func (t *WhitespaceTemplate) WithChildren(templates ...goht.Template) *WhitespaceTemplate
WithChildren sets the "children" slot for WhitespaceTemplate.