Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EgoWorldTemplate ¶ added in v0.9.0
type EgoWorldTemplate struct {
goht.SlotTemplate
}
func EgoWorld ¶ added in v0.7.0
func EgoWorld() *EgoWorldTemplate
EgoWorld returns a new instance of EgoWorldTemplate. Slots: children.
func (*EgoWorldTemplate) Slot ¶ added in v0.9.0
func (t *EgoWorldTemplate) Slot(name string, templates ...goht.Template) *EgoWorldTemplate
Slot sets a named slot for EgoWorldTemplate and returns a new instance.
func (*EgoWorldTemplate) WithChildren ¶ added in v0.9.0
func (t *EgoWorldTemplate) WithChildren(templates ...goht.Template) *EgoWorldTemplate
WithChildren sets the "children" slot for EgoWorldTemplate.
type HamlWorldTemplate ¶ added in v0.9.0
type HamlWorldTemplate struct {
goht.SlotTemplate
}
func HamlWorld ¶ added in v0.6.0
func HamlWorld() *HamlWorldTemplate
HamlWorld returns a new instance of HamlWorldTemplate. Slots: children.
func (*HamlWorldTemplate) Slot ¶ added in v0.9.0
func (t *HamlWorldTemplate) Slot(name string, templates ...goht.Template) *HamlWorldTemplate
Slot sets a named slot for HamlWorldTemplate and returns a new instance.
func (*HamlWorldTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlWorldTemplate) WithChildren(templates ...goht.Template) *HamlWorldTemplate
WithChildren sets the "children" slot for HamlWorldTemplate.
type SlimWorldTemplate ¶ added in v0.9.0
type SlimWorldTemplate struct {
goht.SlotTemplate
}
func SlimWorld ¶ added in v0.6.0
func SlimWorld() *SlimWorldTemplate
SlimWorld returns a new instance of SlimWorldTemplate. Slots: children.
func (*SlimWorldTemplate) Slot ¶ added in v0.9.0
func (t *SlimWorldTemplate) Slot(name string, templates ...goht.Template) *SlimWorldTemplate
Slot sets a named slot for SlimWorldTemplate and returns a new instance.
func (*SlimWorldTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimWorldTemplate) WithChildren(templates ...goht.Template) *SlimWorldTemplate
WithChildren sets the "children" slot for SlimWorldTemplate.
type WorldTemplate ¶ added in v0.9.0
type WorldTemplate struct {
goht.SlotTemplate
}
func World ¶
func World() *WorldTemplate
World returns a new instance of WorldTemplate. Slots: children.
func (*WorldTemplate) Slot ¶ added in v0.9.0
func (t *WorldTemplate) Slot(name string, templates ...goht.Template) *WorldTemplate
Slot sets a named slot for WorldTemplate and returns a new instance.
func (*WorldTemplate) WithChildren ¶ added in v0.9.0
func (t *WorldTemplate) WithChildren(templates ...goht.Template) *WorldTemplate
WithChildren sets the "children" slot for WorldTemplate.