commands

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminNameTemplate added in v0.9.0

type AdminNameTemplate struct {
	goht.SlotTemplate
}

func AdminName added in v0.8.0

func AdminName(adminName string) *AdminNameTemplate

AdminName returns a new instance of AdminNameTemplate. Slots: children.

func (*AdminNameTemplate) Slot added in v0.9.0

func (t *AdminNameTemplate) Slot(name string, templates ...goht.Template) *AdminNameTemplate

Slot sets a named slot for AdminNameTemplate and returns a new instance.

func (*AdminNameTemplate) WithChildren added in v0.9.0

func (t *AdminNameTemplate) WithChildren(templates ...goht.Template) *AdminNameTemplate

WithChildren sets the "children" slot for AdminNameTemplate.

type ChildrenExampleTemplate added in v0.9.0

type ChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func ChildrenExample

func ChildrenExample() *ChildrenExampleTemplate

ChildrenExample returns a new instance of ChildrenExampleTemplate. Slots: children.

func (*ChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for ChildrenExampleTemplate and returns a new instance.

func (*ChildrenExampleTemplate) WithChildren added in v0.9.0

func (t *ChildrenExampleTemplate) WithChildren(templates ...goht.Template) *ChildrenExampleTemplate

WithChildren sets the "children" slot for ChildrenExampleTemplate.

type EgoRenderWithChildrenExampleTemplate added in v0.9.0

type EgoRenderWithChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func EgoRenderWithChildrenExample added in v0.8.5

func EgoRenderWithChildrenExample() *EgoRenderWithChildrenExampleTemplate

EgoRenderWithChildrenExample returns a new instance of EgoRenderWithChildrenExampleTemplate. Slots: children.

func (*EgoRenderWithChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for EgoRenderWithChildrenExampleTemplate and returns a new instance.

func (*EgoRenderWithChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for EgoRenderWithChildrenExampleTemplate.

type FluentFallbackTemplate added in v0.9.0

type FluentFallbackTemplate struct {
	goht.SlotTemplate
}

func FluentFallback added in v0.9.0

func FluentFallback() *FluentFallbackTemplate

FluentFallback returns a new instance of FluentFallbackTemplate. Slots: children, content.

func (*FluentFallbackTemplate) Slot added in v0.9.0

func (t *FluentFallbackTemplate) Slot(name string, templates ...goht.Template) *FluentFallbackTemplate

Slot sets a named slot for FluentFallbackTemplate and returns a new instance.

func (*FluentFallbackTemplate) WithChildren added in v0.9.0

func (t *FluentFallbackTemplate) WithChildren(templates ...goht.Template) *FluentFallbackTemplate

WithChildren sets the "children" slot for FluentFallbackTemplate.

func (*FluentFallbackTemplate) WithContent added in v0.9.0

func (t *FluentFallbackTemplate) WithContent(templates ...goht.Template) *FluentFallbackTemplate

WithContent sets the "content" slot for FluentFallbackTemplate.

type FluentHeaderTemplate added in v0.9.0

type FluentHeaderTemplate struct {
	goht.SlotTemplate
}

func FluentHeader added in v0.9.0

func FluentHeader(title string) *FluentHeaderTemplate

FluentHeader returns a new instance of FluentHeaderTemplate. Slots: children.

func (*FluentHeaderTemplate) Slot added in v0.9.0

func (t *FluentHeaderTemplate) Slot(name string, templates ...goht.Template) *FluentHeaderTemplate

Slot sets a named slot for FluentHeaderTemplate and returns a new instance.

func (*FluentHeaderTemplate) WithChildren added in v0.9.0

func (t *FluentHeaderTemplate) WithChildren(templates ...goht.Template) *FluentHeaderTemplate

WithChildren sets the "children" slot for FluentHeaderTemplate.

type FluentItemTemplate added in v0.9.0

type FluentItemTemplate struct {
	goht.SlotTemplate
}

func FluentItem added in v0.9.0

func FluentItem(label string) *FluentItemTemplate

FluentItem returns a new instance of FluentItemTemplate. Slots: children.

func (*FluentItemTemplate) Slot added in v0.9.0

func (t *FluentItemTemplate) Slot(name string, templates ...goht.Template) *FluentItemTemplate

Slot sets a named slot for FluentItemTemplate and returns a new instance.

func (*FluentItemTemplate) WithChildren added in v0.9.0

func (t *FluentItemTemplate) WithChildren(templates ...goht.Template) *FluentItemTemplate

WithChildren sets the "children" slot for FluentItemTemplate.

type FluentLayoutTemplate added in v0.9.0

type FluentLayoutTemplate struct {
	goht.SlotTemplate
}

FluentLayout and its supporting templates are a runnable example of fluent composition, fallback slots, and conditional slot iteration.

func FluentLayout added in v0.9.0

func FluentLayout() *FluentLayoutTemplate

FluentLayout returns a new instance of FluentLayoutTemplate. Slots: children, header, content.

func (*FluentLayoutTemplate) Slot added in v0.9.0

func (t *FluentLayoutTemplate) Slot(name string, templates ...goht.Template) *FluentLayoutTemplate

Slot sets a named slot for FluentLayoutTemplate and returns a new instance.

func (*FluentLayoutTemplate) WithChildren added in v0.9.0

func (t *FluentLayoutTemplate) WithChildren(templates ...goht.Template) *FluentLayoutTemplate

WithChildren sets the "children" slot for FluentLayoutTemplate.

func (*FluentLayoutTemplate) WithContent added in v0.9.0

func (t *FluentLayoutTemplate) WithContent(templates ...goht.Template) *FluentLayoutTemplate

WithContent sets the "content" slot for FluentLayoutTemplate.

func (*FluentLayoutTemplate) WithHeader added in v0.9.0

func (t *FluentLayoutTemplate) WithHeader(templates ...goht.Template) *FluentLayoutTemplate

WithHeader sets the "header" slot for FluentLayoutTemplate.

type FluentListTemplate added in v0.9.0

type FluentListTemplate struct {
	goht.SlotTemplate
}

func FluentList added in v0.9.0

func FluentList() *FluentListTemplate

FluentList returns a new instance of FluentListTemplate. Slots: children, items.

func (*FluentListTemplate) Slot added in v0.9.0

func (t *FluentListTemplate) Slot(name string, templates ...goht.Template) *FluentListTemplate

Slot sets a named slot for FluentListTemplate and returns a new instance.

func (*FluentListTemplate) WithChildren added in v0.9.0

func (t *FluentListTemplate) WithChildren(templates ...goht.Template) *FluentListTemplate

WithChildren sets the "children" slot for FluentListTemplate.

func (*FluentListTemplate) WithItems added in v0.9.0

func (t *FluentListTemplate) WithItems(templates ...goht.Template) *FluentListTemplate

WithItems sets the "items" slot for FluentListTemplate.

type HamlChildrenExampleTemplate added in v0.9.0

type HamlChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func HamlChildrenExample added in v0.6.0

func HamlChildrenExample() *HamlChildrenExampleTemplate

HamlChildrenExample returns a new instance of HamlChildrenExampleTemplate. Slots: children.

func (*HamlChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for HamlChildrenExampleTemplate and returns a new instance.

func (*HamlChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for HamlChildrenExampleTemplate.

type HamlRenderExampleTemplate added in v0.9.0

type HamlRenderExampleTemplate struct {
	goht.SlotTemplate
}

func HamlRenderExample added in v0.6.0

func HamlRenderExample() *HamlRenderExampleTemplate

HamlRenderExample returns a new instance of HamlRenderExampleTemplate. Slots: children.

func (*HamlRenderExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for HamlRenderExampleTemplate and returns a new instance.

func (*HamlRenderExampleTemplate) WithChildren added in v0.9.0

func (t *HamlRenderExampleTemplate) WithChildren(templates ...goht.Template) *HamlRenderExampleTemplate

WithChildren sets the "children" slot for HamlRenderExampleTemplate.

type HamlRenderWithChildrenExampleTemplate added in v0.9.0

type HamlRenderWithChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func HamlRenderWithChildrenExample added in v0.6.0

func HamlRenderWithChildrenExample() *HamlRenderWithChildrenExampleTemplate

HamlRenderWithChildrenExample returns a new instance of HamlRenderWithChildrenExampleTemplate. Slots: children.

func (*HamlRenderWithChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for HamlRenderWithChildrenExampleTemplate and returns a new instance.

func (*HamlRenderWithChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for HamlRenderWithChildrenExampleTemplate.

type NameTemplate added in v0.9.0

type NameTemplate struct {
	goht.SlotTemplate
}

func Name added in v0.8.0

func Name(userName string) *NameTemplate

Name returns a new instance of NameTemplate. Slots: children.

func (*NameTemplate) Slot added in v0.9.0

func (t *NameTemplate) Slot(name string, templates ...goht.Template) *NameTemplate

Slot sets a named slot for NameTemplate and returns a new instance.

func (*NameTemplate) WithChildren added in v0.9.0

func (t *NameTemplate) WithChildren(templates ...goht.Template) *NameTemplate

WithChildren sets the "children" slot for NameTemplate.

type RenderExampleTemplate added in v0.9.0

type RenderExampleTemplate struct {
	goht.SlotTemplate
}

func RenderExample

func RenderExample() *RenderExampleTemplate

RenderExample returns a new instance of RenderExampleTemplate. Slots: children.

func (*RenderExampleTemplate) Slot added in v0.9.0

func (t *RenderExampleTemplate) Slot(name string, templates ...goht.Template) *RenderExampleTemplate

Slot sets a named slot for RenderExampleTemplate and returns a new instance.

func (*RenderExampleTemplate) WithChildren added in v0.9.0

func (t *RenderExampleTemplate) WithChildren(templates ...goht.Template) *RenderExampleTemplate

WithChildren sets the "children" slot for RenderExampleTemplate.

type RenderWithChildrenExampleTemplate added in v0.9.0

type RenderWithChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func RenderWithChildrenExample

func RenderWithChildrenExample() *RenderWithChildrenExampleTemplate

RenderWithChildrenExample returns a new instance of RenderWithChildrenExampleTemplate. Slots: children.

func (*RenderWithChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for RenderWithChildrenExampleTemplate and returns a new instance.

func (*RenderWithChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for RenderWithChildrenExampleTemplate.

type SlimChildrenExampleTemplate added in v0.9.0

type SlimChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func SlimChildrenExample added in v0.6.0

func SlimChildrenExample() *SlimChildrenExampleTemplate

SlimChildrenExample returns a new instance of SlimChildrenExampleTemplate. Slots: children.

func (*SlimChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for SlimChildrenExampleTemplate and returns a new instance.

func (*SlimChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for SlimChildrenExampleTemplate.

type SlimRenderExampleTemplate added in v0.9.0

type SlimRenderExampleTemplate struct {
	goht.SlotTemplate
}

func SlimRenderExample added in v0.6.0

func SlimRenderExample() *SlimRenderExampleTemplate

SlimRenderExample returns a new instance of SlimRenderExampleTemplate. Slots: children.

func (*SlimRenderExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for SlimRenderExampleTemplate and returns a new instance.

func (*SlimRenderExampleTemplate) WithChildren added in v0.9.0

func (t *SlimRenderExampleTemplate) WithChildren(templates ...goht.Template) *SlimRenderExampleTemplate

WithChildren sets the "children" slot for SlimRenderExampleTemplate.

type SlimRenderWithChildrenExampleTemplate added in v0.9.0

type SlimRenderWithChildrenExampleTemplate struct {
	goht.SlotTemplate
}

func SlimRenderWithChildrenExample added in v0.6.0

func SlimRenderWithChildrenExample() *SlimRenderWithChildrenExampleTemplate

SlimRenderWithChildrenExample returns a new instance of SlimRenderWithChildrenExampleTemplate. Slots: children.

func (*SlimRenderWithChildrenExampleTemplate) Slot added in v0.9.0

Slot sets a named slot for SlimRenderWithChildrenExampleTemplate and returns a new instance.

func (*SlimRenderWithChildrenExampleTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for SlimRenderWithChildrenExampleTemplate.

type SlotTemplateTemplate added in v0.9.0

type SlotTemplateTemplate struct {
	goht.SlotTemplate
}

func SlotTemplate added in v0.8.0

func SlotTemplate() *SlotTemplateTemplate

SlotTemplate returns a new instance of SlotTemplateTemplate. Slots: children, name, actions.

func (*SlotTemplateTemplate) Slot added in v0.9.0

func (t *SlotTemplateTemplate) Slot(name string, templates ...goht.Template) *SlotTemplateTemplate

Slot sets a named slot for SlotTemplateTemplate and returns a new instance.

func (*SlotTemplateTemplate) WithActions added in v0.9.0

func (t *SlotTemplateTemplate) WithActions(templates ...goht.Template) *SlotTemplateTemplate

WithActions sets the "actions" slot for SlotTemplateTemplate.

func (*SlotTemplateTemplate) WithChildren added in v0.9.0

func (t *SlotTemplateTemplate) WithChildren(templates ...goht.Template) *SlotTemplateTemplate

WithChildren sets the "children" slot for SlotTemplateTemplate.

func (*SlotTemplateTemplate) WithName added in v0.9.0

func (t *SlotTemplateTemplate) WithName(templates ...goht.Template) *SlotTemplateTemplate

WithName sets the "name" slot for SlotTemplateTemplate.

type SlotWithDefaultTemplateTemplate added in v0.9.0

type SlotWithDefaultTemplateTemplate struct {
	goht.SlotTemplate
}

func SlotWithDefaultTemplate added in v0.8.0

func SlotWithDefaultTemplate() *SlotWithDefaultTemplateTemplate

SlotWithDefaultTemplate returns a new instance of SlotWithDefaultTemplateTemplate. Slots: children, name, actions.

func (*SlotWithDefaultTemplateTemplate) Slot added in v0.9.0

Slot sets a named slot for SlotWithDefaultTemplateTemplate and returns a new instance.

func (*SlotWithDefaultTemplateTemplate) WithActions added in v0.9.0

WithActions sets the "actions" slot for SlotWithDefaultTemplateTemplate.

func (*SlotWithDefaultTemplateTemplate) WithChildren added in v0.9.0

WithChildren sets the "children" slot for SlotWithDefaultTemplateTemplate.

func (*SlotWithDefaultTemplateTemplate) WithName added in v0.9.0

WithName sets the "name" slot for SlotWithDefaultTemplateTemplate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL