Documentation
¶
Index ¶
- type ConditionalTemplate
- type DetailsTemplate
- type DocTemplate
- type EscapeInterpolationTemplate
- type ExecuteCodeTemplate
- type HamlConditionalTemplate
- type HamlDetailsTemplate
- type HamlDocTemplate
- type HamlEscapeInterpolationTemplate
- type HamlExecuteCodeTemplate
- type HamlGoFilterTemplate
- type HamlIgnoreInterpolationTemplate
- type HamlImportExampleTemplate
- type HamlInterpolateCodeTemplate
- type HamlLongStatementTemplate
- type HamlNoInterpolationTemplate
- type HamlRenderCodeTemplate
- type HamlShorthandConditionalTemplate
- type HamlShorthandSwitchTemplate
- type IgnoreInterpolationTemplate
- type ImportExampleTemplate
- type InterpolateCodeTemplate
- type NoInterpolationTemplate
- type PackageExampleTemplate
- type RenderCodeTemplate
- type ShorthandConditionalTemplate
- type ShorthandSwitchTemplate
- type SlimConditionalTemplate
- type SlimDetailsTemplate
- type SlimDocTemplate
- type SlimExecuteCodeTemplate
- type SlimGoFilterTemplate
- type SlimImportExampleTemplate
- type SlimInterpolateCodeTemplate
- type SlimLongStatementTemplate
- type SlimNoInterpolationTemplate
- type SlimRenderCodeTemplate
- type SlimShorthandConditionalTemplate
- type SlimShorthandSwitchTemplate
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalTemplate ¶ added in v0.9.0
type ConditionalTemplate struct {
goht.SlotTemplate
}
func Conditional ¶
func Conditional() *ConditionalTemplate
Conditional returns a new instance of ConditionalTemplate. Slots: children.
func (*ConditionalTemplate) Slot ¶ added in v0.9.0
func (t *ConditionalTemplate) Slot(name string, templates ...goht.Template) *ConditionalTemplate
Slot sets a named slot for ConditionalTemplate and returns a new instance.
func (*ConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *ConditionalTemplate) WithChildren(templates ...goht.Template) *ConditionalTemplate
WithChildren sets the "children" slot for ConditionalTemplate.
type DetailsTemplate ¶ added in v0.9.0
type DetailsTemplate struct {
goht.SlotTemplate
}
func (*DetailsTemplate) Slot ¶ added in v0.9.0
func (t *DetailsTemplate) Slot(name string, templates ...goht.Template) *DetailsTemplate
Slot sets a named slot for DetailsTemplate and returns a new instance.
func (*DetailsTemplate) WithChildren ¶ added in v0.9.0
func (t *DetailsTemplate) WithChildren(templates ...goht.Template) *DetailsTemplate
WithChildren sets the "children" slot for DetailsTemplate.
type DocTemplate ¶ added in v0.9.0
type DocTemplate struct {
goht.SlotTemplate
}
func (*DocTemplate) Slot ¶ added in v0.9.0
func (t *DocTemplate) Slot(name string, templates ...goht.Template) *DocTemplate
Slot sets a named slot for DocTemplate and returns a new instance.
func (*DocTemplate) WithChildren ¶ added in v0.9.0
func (t *DocTemplate) WithChildren(templates ...goht.Template) *DocTemplate
WithChildren sets the "children" slot for DocTemplate.
type EscapeInterpolationTemplate ¶ added in v0.9.0
type EscapeInterpolationTemplate struct {
goht.SlotTemplate
}
func EscapeInterpolation ¶
func EscapeInterpolation() *EscapeInterpolationTemplate
EscapeInterpolation returns a new instance of EscapeInterpolationTemplate. Slots: children.
func (*EscapeInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *EscapeInterpolationTemplate) Slot(name string, templates ...goht.Template) *EscapeInterpolationTemplate
Slot sets a named slot for EscapeInterpolationTemplate and returns a new instance.
func (*EscapeInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *EscapeInterpolationTemplate) WithChildren(templates ...goht.Template) *EscapeInterpolationTemplate
WithChildren sets the "children" slot for EscapeInterpolationTemplate.
type ExecuteCodeTemplate ¶ added in v0.9.0
type ExecuteCodeTemplate struct {
goht.SlotTemplate
}
func ExecuteCode ¶
func ExecuteCode() *ExecuteCodeTemplate
ExecuteCode returns a new instance of ExecuteCodeTemplate. Slots: children.
func (*ExecuteCodeTemplate) Slot ¶ added in v0.9.0
func (t *ExecuteCodeTemplate) Slot(name string, templates ...goht.Template) *ExecuteCodeTemplate
Slot sets a named slot for ExecuteCodeTemplate and returns a new instance.
func (*ExecuteCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *ExecuteCodeTemplate) WithChildren(templates ...goht.Template) *ExecuteCodeTemplate
WithChildren sets the "children" slot for ExecuteCodeTemplate.
type HamlConditionalTemplate ¶ added in v0.9.0
type HamlConditionalTemplate struct {
goht.SlotTemplate
}
func HamlConditional ¶ added in v0.6.0
func HamlConditional() *HamlConditionalTemplate
HamlConditional returns a new instance of HamlConditionalTemplate. Slots: children.
func (*HamlConditionalTemplate) Slot ¶ added in v0.9.0
func (t *HamlConditionalTemplate) Slot(name string, templates ...goht.Template) *HamlConditionalTemplate
Slot sets a named slot for HamlConditionalTemplate and returns a new instance.
func (*HamlConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlConditionalTemplate) WithChildren(templates ...goht.Template) *HamlConditionalTemplate
WithChildren sets the "children" slot for HamlConditionalTemplate.
type HamlDetailsTemplate ¶ added in v0.9.0
type HamlDetailsTemplate struct {
goht.SlotTemplate
}
func (*HamlDetailsTemplate) Slot ¶ added in v0.9.0
func (t *HamlDetailsTemplate) Slot(name string, templates ...goht.Template) *HamlDetailsTemplate
Slot sets a named slot for HamlDetailsTemplate and returns a new instance.
func (*HamlDetailsTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlDetailsTemplate) WithChildren(templates ...goht.Template) *HamlDetailsTemplate
WithChildren sets the "children" slot for HamlDetailsTemplate.
type HamlDocTemplate ¶ added in v0.9.0
type HamlDocTemplate struct {
goht.SlotTemplate
}
func HamlDoc ¶ added in v0.6.0
func HamlDoc() *HamlDocTemplate
HamlDoc returns a new instance of HamlDocTemplate. Slots: children.
func (*HamlDocTemplate) Slot ¶ added in v0.9.0
func (t *HamlDocTemplate) Slot(name string, templates ...goht.Template) *HamlDocTemplate
Slot sets a named slot for HamlDocTemplate and returns a new instance.
func (*HamlDocTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlDocTemplate) WithChildren(templates ...goht.Template) *HamlDocTemplate
WithChildren sets the "children" slot for HamlDocTemplate.
type HamlEscapeInterpolationTemplate ¶ added in v0.9.0
type HamlEscapeInterpolationTemplate struct {
goht.SlotTemplate
}
func HamlEscapeInterpolation ¶ added in v0.6.0
func HamlEscapeInterpolation() *HamlEscapeInterpolationTemplate
HamlEscapeInterpolation returns a new instance of HamlEscapeInterpolationTemplate. Slots: children.
func (*HamlEscapeInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *HamlEscapeInterpolationTemplate) Slot(name string, templates ...goht.Template) *HamlEscapeInterpolationTemplate
Slot sets a named slot for HamlEscapeInterpolationTemplate and returns a new instance.
func (*HamlEscapeInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlEscapeInterpolationTemplate) WithChildren(templates ...goht.Template) *HamlEscapeInterpolationTemplate
WithChildren sets the "children" slot for HamlEscapeInterpolationTemplate.
type HamlExecuteCodeTemplate ¶ added in v0.9.0
type HamlExecuteCodeTemplate struct {
goht.SlotTemplate
}
func HamlExecuteCode ¶ added in v0.6.0
func HamlExecuteCode() *HamlExecuteCodeTemplate
HamlExecuteCode returns a new instance of HamlExecuteCodeTemplate. Slots: children.
func (*HamlExecuteCodeTemplate) Slot ¶ added in v0.9.0
func (t *HamlExecuteCodeTemplate) Slot(name string, templates ...goht.Template) *HamlExecuteCodeTemplate
Slot sets a named slot for HamlExecuteCodeTemplate and returns a new instance.
func (*HamlExecuteCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlExecuteCodeTemplate) WithChildren(templates ...goht.Template) *HamlExecuteCodeTemplate
WithChildren sets the "children" slot for HamlExecuteCodeTemplate.
type HamlGoFilterTemplate ¶ added in v0.9.0
type HamlGoFilterTemplate struct {
goht.SlotTemplate
}
func HamlGoFilter ¶ added in v0.9.0
func HamlGoFilter() *HamlGoFilterTemplate
HamlGoFilter returns a new instance of HamlGoFilterTemplate. Slots: children.
func (*HamlGoFilterTemplate) Slot ¶ added in v0.9.0
func (t *HamlGoFilterTemplate) Slot(name string, templates ...goht.Template) *HamlGoFilterTemplate
Slot sets a named slot for HamlGoFilterTemplate and returns a new instance.
func (*HamlGoFilterTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlGoFilterTemplate) WithChildren(templates ...goht.Template) *HamlGoFilterTemplate
WithChildren sets the "children" slot for HamlGoFilterTemplate.
type HamlIgnoreInterpolationTemplate ¶ added in v0.9.0
type HamlIgnoreInterpolationTemplate struct {
goht.SlotTemplate
}
func HamlIgnoreInterpolation ¶ added in v0.6.0
func HamlIgnoreInterpolation() *HamlIgnoreInterpolationTemplate
HamlIgnoreInterpolation returns a new instance of HamlIgnoreInterpolationTemplate. Slots: children.
func (*HamlIgnoreInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *HamlIgnoreInterpolationTemplate) Slot(name string, templates ...goht.Template) *HamlIgnoreInterpolationTemplate
Slot sets a named slot for HamlIgnoreInterpolationTemplate and returns a new instance.
func (*HamlIgnoreInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlIgnoreInterpolationTemplate) WithChildren(templates ...goht.Template) *HamlIgnoreInterpolationTemplate
WithChildren sets the "children" slot for HamlIgnoreInterpolationTemplate.
type HamlImportExampleTemplate ¶ added in v0.9.0
type HamlImportExampleTemplate struct {
goht.SlotTemplate
}
func HamlImportExample ¶ added in v0.6.0
func HamlImportExample() *HamlImportExampleTemplate
HamlImportExample returns a new instance of HamlImportExampleTemplate. Slots: children.
func (*HamlImportExampleTemplate) Slot ¶ added in v0.9.0
func (t *HamlImportExampleTemplate) Slot(name string, templates ...goht.Template) *HamlImportExampleTemplate
Slot sets a named slot for HamlImportExampleTemplate and returns a new instance.
func (*HamlImportExampleTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlImportExampleTemplate) WithChildren(templates ...goht.Template) *HamlImportExampleTemplate
WithChildren sets the "children" slot for HamlImportExampleTemplate.
type HamlInterpolateCodeTemplate ¶ added in v0.9.0
type HamlInterpolateCodeTemplate struct {
goht.SlotTemplate
}
func HamlInterpolateCode ¶ added in v0.6.0
func HamlInterpolateCode() *HamlInterpolateCodeTemplate
HamlInterpolateCode returns a new instance of HamlInterpolateCodeTemplate. Slots: children.
func (*HamlInterpolateCodeTemplate) Slot ¶ added in v0.9.0
func (t *HamlInterpolateCodeTemplate) Slot(name string, templates ...goht.Template) *HamlInterpolateCodeTemplate
Slot sets a named slot for HamlInterpolateCodeTemplate and returns a new instance.
func (*HamlInterpolateCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlInterpolateCodeTemplate) WithChildren(templates ...goht.Template) *HamlInterpolateCodeTemplate
WithChildren sets the "children" slot for HamlInterpolateCodeTemplate.
type HamlLongStatementTemplate ¶ added in v0.9.0
type HamlLongStatementTemplate struct {
goht.SlotTemplate
}
func HamlLongStatement ¶ added in v0.6.3
func HamlLongStatement() *HamlLongStatementTemplate
HamlLongStatement returns a new instance of HamlLongStatementTemplate. Slots: children.
func (*HamlLongStatementTemplate) Slot ¶ added in v0.9.0
func (t *HamlLongStatementTemplate) Slot(name string, templates ...goht.Template) *HamlLongStatementTemplate
Slot sets a named slot for HamlLongStatementTemplate and returns a new instance.
func (*HamlLongStatementTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlLongStatementTemplate) WithChildren(templates ...goht.Template) *HamlLongStatementTemplate
WithChildren sets the "children" slot for HamlLongStatementTemplate.
type HamlNoInterpolationTemplate ¶ added in v0.9.0
type HamlNoInterpolationTemplate struct {
goht.SlotTemplate
}
func HamlNoInterpolation ¶ added in v0.6.0
func HamlNoInterpolation() *HamlNoInterpolationTemplate
HamlNoInterpolation returns a new instance of HamlNoInterpolationTemplate. Slots: children.
func (*HamlNoInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *HamlNoInterpolationTemplate) Slot(name string, templates ...goht.Template) *HamlNoInterpolationTemplate
Slot sets a named slot for HamlNoInterpolationTemplate and returns a new instance.
func (*HamlNoInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlNoInterpolationTemplate) WithChildren(templates ...goht.Template) *HamlNoInterpolationTemplate
WithChildren sets the "children" slot for HamlNoInterpolationTemplate.
type HamlRenderCodeTemplate ¶ added in v0.9.0
type HamlRenderCodeTemplate struct {
goht.SlotTemplate
}
func HamlRenderCode ¶ added in v0.6.0
func HamlRenderCode() *HamlRenderCodeTemplate
HamlRenderCode returns a new instance of HamlRenderCodeTemplate. Slots: children.
func (*HamlRenderCodeTemplate) Slot ¶ added in v0.9.0
func (t *HamlRenderCodeTemplate) Slot(name string, templates ...goht.Template) *HamlRenderCodeTemplate
Slot sets a named slot for HamlRenderCodeTemplate and returns a new instance.
func (*HamlRenderCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlRenderCodeTemplate) WithChildren(templates ...goht.Template) *HamlRenderCodeTemplate
WithChildren sets the "children" slot for HamlRenderCodeTemplate.
type HamlShorthandConditionalTemplate ¶ added in v0.9.0
type HamlShorthandConditionalTemplate struct {
goht.SlotTemplate
}
func HamlShorthandConditional ¶ added in v0.6.0
func HamlShorthandConditional() *HamlShorthandConditionalTemplate
HamlShorthandConditional returns a new instance of HamlShorthandConditionalTemplate. Slots: children.
func (*HamlShorthandConditionalTemplate) Slot ¶ added in v0.9.0
func (t *HamlShorthandConditionalTemplate) Slot(name string, templates ...goht.Template) *HamlShorthandConditionalTemplate
Slot sets a named slot for HamlShorthandConditionalTemplate and returns a new instance.
func (*HamlShorthandConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlShorthandConditionalTemplate) WithChildren(templates ...goht.Template) *HamlShorthandConditionalTemplate
WithChildren sets the "children" slot for HamlShorthandConditionalTemplate.
type HamlShorthandSwitchTemplate ¶ added in v0.9.0
type HamlShorthandSwitchTemplate struct {
goht.SlotTemplate
}
func HamlShorthandSwitch ¶ added in v0.6.0
func HamlShorthandSwitch() *HamlShorthandSwitchTemplate
HamlShorthandSwitch returns a new instance of HamlShorthandSwitchTemplate. Slots: children.
func (*HamlShorthandSwitchTemplate) Slot ¶ added in v0.9.0
func (t *HamlShorthandSwitchTemplate) Slot(name string, templates ...goht.Template) *HamlShorthandSwitchTemplate
Slot sets a named slot for HamlShorthandSwitchTemplate and returns a new instance.
func (*HamlShorthandSwitchTemplate) WithChildren ¶ added in v0.9.0
func (t *HamlShorthandSwitchTemplate) WithChildren(templates ...goht.Template) *HamlShorthandSwitchTemplate
WithChildren sets the "children" slot for HamlShorthandSwitchTemplate.
type IgnoreInterpolationTemplate ¶ added in v0.9.0
type IgnoreInterpolationTemplate struct {
goht.SlotTemplate
}
func IgnoreInterpolation ¶
func IgnoreInterpolation() *IgnoreInterpolationTemplate
IgnoreInterpolation returns a new instance of IgnoreInterpolationTemplate. Slots: children.
func (*IgnoreInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *IgnoreInterpolationTemplate) Slot(name string, templates ...goht.Template) *IgnoreInterpolationTemplate
Slot sets a named slot for IgnoreInterpolationTemplate and returns a new instance.
func (*IgnoreInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *IgnoreInterpolationTemplate) WithChildren(templates ...goht.Template) *IgnoreInterpolationTemplate
WithChildren sets the "children" slot for IgnoreInterpolationTemplate.
type ImportExampleTemplate ¶ added in v0.9.0
type ImportExampleTemplate struct {
goht.SlotTemplate
}
func ImportExample ¶
func ImportExample() *ImportExampleTemplate
ImportExample returns a new instance of ImportExampleTemplate. Slots: children.
func (*ImportExampleTemplate) Slot ¶ added in v0.9.0
func (t *ImportExampleTemplate) Slot(name string, templates ...goht.Template) *ImportExampleTemplate
Slot sets a named slot for ImportExampleTemplate and returns a new instance.
func (*ImportExampleTemplate) WithChildren ¶ added in v0.9.0
func (t *ImportExampleTemplate) WithChildren(templates ...goht.Template) *ImportExampleTemplate
WithChildren sets the "children" slot for ImportExampleTemplate.
type InterpolateCodeTemplate ¶ added in v0.9.0
type InterpolateCodeTemplate struct {
goht.SlotTemplate
}
func InterpolateCode ¶
func InterpolateCode() *InterpolateCodeTemplate
InterpolateCode returns a new instance of InterpolateCodeTemplate. Slots: children.
func (*InterpolateCodeTemplate) Slot ¶ added in v0.9.0
func (t *InterpolateCodeTemplate) Slot(name string, templates ...goht.Template) *InterpolateCodeTemplate
Slot sets a named slot for InterpolateCodeTemplate and returns a new instance.
func (*InterpolateCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *InterpolateCodeTemplate) WithChildren(templates ...goht.Template) *InterpolateCodeTemplate
WithChildren sets the "children" slot for InterpolateCodeTemplate.
type NoInterpolationTemplate ¶ added in v0.9.0
type NoInterpolationTemplate struct {
goht.SlotTemplate
}
Interpolation is not done within Go code or within a string literal.
func NoInterpolation ¶
func NoInterpolation() *NoInterpolationTemplate
NoInterpolation returns a new instance of NoInterpolationTemplate. Slots: children.
func (*NoInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *NoInterpolationTemplate) Slot(name string, templates ...goht.Template) *NoInterpolationTemplate
Slot sets a named slot for NoInterpolationTemplate and returns a new instance.
func (*NoInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *NoInterpolationTemplate) WithChildren(templates ...goht.Template) *NoInterpolationTemplate
WithChildren sets the "children" slot for NoInterpolationTemplate.
type PackageExampleTemplate ¶ added in v0.9.0
type PackageExampleTemplate struct {
goht.SlotTemplate
}
func PackageExample ¶
func PackageExample() *PackageExampleTemplate
PackageExample returns a new instance of PackageExampleTemplate. Slots: children.
func (*PackageExampleTemplate) Slot ¶ added in v0.9.0
func (t *PackageExampleTemplate) Slot(name string, templates ...goht.Template) *PackageExampleTemplate
Slot sets a named slot for PackageExampleTemplate and returns a new instance.
func (*PackageExampleTemplate) WithChildren ¶ added in v0.9.0
func (t *PackageExampleTemplate) WithChildren(templates ...goht.Template) *PackageExampleTemplate
WithChildren sets the "children" slot for PackageExampleTemplate.
type RenderCodeTemplate ¶ added in v0.9.0
type RenderCodeTemplate struct {
goht.SlotTemplate
}
func RenderCode ¶
func RenderCode() *RenderCodeTemplate
RenderCode returns a new instance of RenderCodeTemplate. Slots: children.
func (*RenderCodeTemplate) Slot ¶ added in v0.9.0
func (t *RenderCodeTemplate) Slot(name string, templates ...goht.Template) *RenderCodeTemplate
Slot sets a named slot for RenderCodeTemplate and returns a new instance.
func (*RenderCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *RenderCodeTemplate) WithChildren(templates ...goht.Template) *RenderCodeTemplate
WithChildren sets the "children" slot for RenderCodeTemplate.
type ShorthandConditionalTemplate ¶ added in v0.9.0
type ShorthandConditionalTemplate struct {
goht.SlotTemplate
}
func ShorthandConditional ¶
func ShorthandConditional() *ShorthandConditionalTemplate
ShorthandConditional returns a new instance of ShorthandConditionalTemplate. Slots: children.
func (*ShorthandConditionalTemplate) Slot ¶ added in v0.9.0
func (t *ShorthandConditionalTemplate) Slot(name string, templates ...goht.Template) *ShorthandConditionalTemplate
Slot sets a named slot for ShorthandConditionalTemplate and returns a new instance.
func (*ShorthandConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *ShorthandConditionalTemplate) WithChildren(templates ...goht.Template) *ShorthandConditionalTemplate
WithChildren sets the "children" slot for ShorthandConditionalTemplate.
type ShorthandSwitchTemplate ¶ added in v0.9.0
type ShorthandSwitchTemplate struct {
goht.SlotTemplate
}
func ShorthandSwitch ¶
func ShorthandSwitch() *ShorthandSwitchTemplate
ShorthandSwitch returns a new instance of ShorthandSwitchTemplate. Slots: children.
func (*ShorthandSwitchTemplate) Slot ¶ added in v0.9.0
func (t *ShorthandSwitchTemplate) Slot(name string, templates ...goht.Template) *ShorthandSwitchTemplate
Slot sets a named slot for ShorthandSwitchTemplate and returns a new instance.
func (*ShorthandSwitchTemplate) WithChildren ¶ added in v0.9.0
func (t *ShorthandSwitchTemplate) WithChildren(templates ...goht.Template) *ShorthandSwitchTemplate
WithChildren sets the "children" slot for ShorthandSwitchTemplate.
type SlimConditionalTemplate ¶ added in v0.9.0
type SlimConditionalTemplate struct {
goht.SlotTemplate
}
func SlimConditional ¶ added in v0.6.0
func SlimConditional() *SlimConditionalTemplate
SlimConditional returns a new instance of SlimConditionalTemplate. Slots: children.
func (*SlimConditionalTemplate) Slot ¶ added in v0.9.0
func (t *SlimConditionalTemplate) Slot(name string, templates ...goht.Template) *SlimConditionalTemplate
Slot sets a named slot for SlimConditionalTemplate and returns a new instance.
func (*SlimConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimConditionalTemplate) WithChildren(templates ...goht.Template) *SlimConditionalTemplate
WithChildren sets the "children" slot for SlimConditionalTemplate.
type SlimDetailsTemplate ¶ added in v0.9.0
type SlimDetailsTemplate struct {
goht.SlotTemplate
}
func (*SlimDetailsTemplate) Slot ¶ added in v0.9.0
func (t *SlimDetailsTemplate) Slot(name string, templates ...goht.Template) *SlimDetailsTemplate
Slot sets a named slot for SlimDetailsTemplate and returns a new instance.
func (*SlimDetailsTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimDetailsTemplate) WithChildren(templates ...goht.Template) *SlimDetailsTemplate
WithChildren sets the "children" slot for SlimDetailsTemplate.
type SlimDocTemplate ¶ added in v0.9.0
type SlimDocTemplate struct {
goht.SlotTemplate
}
func SlimDoc ¶ added in v0.6.0
func SlimDoc() *SlimDocTemplate
SlimDoc returns a new instance of SlimDocTemplate. Slots: children.
func (*SlimDocTemplate) Slot ¶ added in v0.9.0
func (t *SlimDocTemplate) Slot(name string, templates ...goht.Template) *SlimDocTemplate
Slot sets a named slot for SlimDocTemplate and returns a new instance.
func (*SlimDocTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimDocTemplate) WithChildren(templates ...goht.Template) *SlimDocTemplate
WithChildren sets the "children" slot for SlimDocTemplate.
type SlimExecuteCodeTemplate ¶ added in v0.9.0
type SlimExecuteCodeTemplate struct {
goht.SlotTemplate
}
func SlimExecuteCode ¶ added in v0.6.0
func SlimExecuteCode() *SlimExecuteCodeTemplate
SlimExecuteCode returns a new instance of SlimExecuteCodeTemplate. Slots: children.
func (*SlimExecuteCodeTemplate) Slot ¶ added in v0.9.0
func (t *SlimExecuteCodeTemplate) Slot(name string, templates ...goht.Template) *SlimExecuteCodeTemplate
Slot sets a named slot for SlimExecuteCodeTemplate and returns a new instance.
func (*SlimExecuteCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimExecuteCodeTemplate) WithChildren(templates ...goht.Template) *SlimExecuteCodeTemplate
WithChildren sets the "children" slot for SlimExecuteCodeTemplate.
type SlimGoFilterTemplate ¶ added in v0.9.0
type SlimGoFilterTemplate struct {
goht.SlotTemplate
}
func SlimGoFilter ¶ added in v0.9.0
func SlimGoFilter() *SlimGoFilterTemplate
SlimGoFilter returns a new instance of SlimGoFilterTemplate. Slots: children.
func (*SlimGoFilterTemplate) Slot ¶ added in v0.9.0
func (t *SlimGoFilterTemplate) Slot(name string, templates ...goht.Template) *SlimGoFilterTemplate
Slot sets a named slot for SlimGoFilterTemplate and returns a new instance.
func (*SlimGoFilterTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimGoFilterTemplate) WithChildren(templates ...goht.Template) *SlimGoFilterTemplate
WithChildren sets the "children" slot for SlimGoFilterTemplate.
type SlimImportExampleTemplate ¶ added in v0.9.0
type SlimImportExampleTemplate struct {
goht.SlotTemplate
}
func SlimImportExample ¶ added in v0.6.0
func SlimImportExample() *SlimImportExampleTemplate
SlimImportExample returns a new instance of SlimImportExampleTemplate. Slots: children.
func (*SlimImportExampleTemplate) Slot ¶ added in v0.9.0
func (t *SlimImportExampleTemplate) Slot(name string, templates ...goht.Template) *SlimImportExampleTemplate
Slot sets a named slot for SlimImportExampleTemplate and returns a new instance.
func (*SlimImportExampleTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimImportExampleTemplate) WithChildren(templates ...goht.Template) *SlimImportExampleTemplate
WithChildren sets the "children" slot for SlimImportExampleTemplate.
type SlimInterpolateCodeTemplate ¶ added in v0.9.0
type SlimInterpolateCodeTemplate struct {
goht.SlotTemplate
}
func SlimInterpolateCode ¶ added in v0.6.0
func SlimInterpolateCode() *SlimInterpolateCodeTemplate
SlimInterpolateCode returns a new instance of SlimInterpolateCodeTemplate. Slots: children.
func (*SlimInterpolateCodeTemplate) Slot ¶ added in v0.9.0
func (t *SlimInterpolateCodeTemplate) Slot(name string, templates ...goht.Template) *SlimInterpolateCodeTemplate
Slot sets a named slot for SlimInterpolateCodeTemplate and returns a new instance.
func (*SlimInterpolateCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimInterpolateCodeTemplate) WithChildren(templates ...goht.Template) *SlimInterpolateCodeTemplate
WithChildren sets the "children" slot for SlimInterpolateCodeTemplate.
type SlimLongStatementTemplate ¶ added in v0.9.0
type SlimLongStatementTemplate struct {
goht.SlotTemplate
}
func SlimLongStatement ¶ added in v0.6.0
func SlimLongStatement() *SlimLongStatementTemplate
SlimLongStatement returns a new instance of SlimLongStatementTemplate. Slots: children.
func (*SlimLongStatementTemplate) Slot ¶ added in v0.9.0
func (t *SlimLongStatementTemplate) Slot(name string, templates ...goht.Template) *SlimLongStatementTemplate
Slot sets a named slot for SlimLongStatementTemplate and returns a new instance.
func (*SlimLongStatementTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimLongStatementTemplate) WithChildren(templates ...goht.Template) *SlimLongStatementTemplate
WithChildren sets the "children" slot for SlimLongStatementTemplate.
type SlimNoInterpolationTemplate ¶ added in v0.9.0
type SlimNoInterpolationTemplate struct {
goht.SlotTemplate
}
func SlimNoInterpolation ¶ added in v0.6.0
func SlimNoInterpolation() *SlimNoInterpolationTemplate
SlimNoInterpolation returns a new instance of SlimNoInterpolationTemplate. Slots: children.
func (*SlimNoInterpolationTemplate) Slot ¶ added in v0.9.0
func (t *SlimNoInterpolationTemplate) Slot(name string, templates ...goht.Template) *SlimNoInterpolationTemplate
Slot sets a named slot for SlimNoInterpolationTemplate and returns a new instance.
func (*SlimNoInterpolationTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimNoInterpolationTemplate) WithChildren(templates ...goht.Template) *SlimNoInterpolationTemplate
WithChildren sets the "children" slot for SlimNoInterpolationTemplate.
type SlimRenderCodeTemplate ¶ added in v0.9.0
type SlimRenderCodeTemplate struct {
goht.SlotTemplate
}
func SlimRenderCode ¶ added in v0.6.0
func SlimRenderCode() *SlimRenderCodeTemplate
SlimRenderCode returns a new instance of SlimRenderCodeTemplate. Slots: children.
func (*SlimRenderCodeTemplate) Slot ¶ added in v0.9.0
func (t *SlimRenderCodeTemplate) Slot(name string, templates ...goht.Template) *SlimRenderCodeTemplate
Slot sets a named slot for SlimRenderCodeTemplate and returns a new instance.
func (*SlimRenderCodeTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimRenderCodeTemplate) WithChildren(templates ...goht.Template) *SlimRenderCodeTemplate
WithChildren sets the "children" slot for SlimRenderCodeTemplate.
type SlimShorthandConditionalTemplate ¶ added in v0.9.0
type SlimShorthandConditionalTemplate struct {
goht.SlotTemplate
}
func SlimShorthandConditional ¶ added in v0.6.0
func SlimShorthandConditional() *SlimShorthandConditionalTemplate
SlimShorthandConditional returns a new instance of SlimShorthandConditionalTemplate. Slots: children.
func (*SlimShorthandConditionalTemplate) Slot ¶ added in v0.9.0
func (t *SlimShorthandConditionalTemplate) Slot(name string, templates ...goht.Template) *SlimShorthandConditionalTemplate
Slot sets a named slot for SlimShorthandConditionalTemplate and returns a new instance.
func (*SlimShorthandConditionalTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimShorthandConditionalTemplate) WithChildren(templates ...goht.Template) *SlimShorthandConditionalTemplate
WithChildren sets the "children" slot for SlimShorthandConditionalTemplate.
type SlimShorthandSwitchTemplate ¶ added in v0.9.0
type SlimShorthandSwitchTemplate struct {
goht.SlotTemplate
}
func SlimShorthandSwitch ¶ added in v0.6.0
func SlimShorthandSwitch() *SlimShorthandSwitchTemplate
SlimShorthandSwitch returns a new instance of SlimShorthandSwitchTemplate. Slots: children.
func (*SlimShorthandSwitchTemplate) Slot ¶ added in v0.9.0
func (t *SlimShorthandSwitchTemplate) Slot(name string, templates ...goht.Template) *SlimShorthandSwitchTemplate
Slot sets a named slot for SlimShorthandSwitchTemplate and returns a new instance.
func (*SlimShorthandSwitchTemplate) WithChildren ¶ added in v0.9.0
func (t *SlimShorthandSwitchTemplate) WithChildren(templates ...goht.Template) *SlimShorthandSwitchTemplate
WithChildren sets the "children" slot for SlimShorthandSwitchTemplate.
type User ¶ added in v0.4.4
func (User) Details ¶ added in v0.4.4
func (u User) Details() *DetailsTemplate
Details returns a new instance of DetailsTemplate. Slots: children.
func (User) HamlDetails ¶ added in v0.6.0
func (u User) HamlDetails() *HamlDetailsTemplate
HamlDetails returns a new instance of HamlDetailsTemplate. Slots: children.
func (User) SlimDetails ¶ added in v0.6.0
func (u User) SlimDetails() *SlimDetailsTemplate
SlimDetails returns a new instance of SlimDetailsTemplate. Slots: children.