Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
- func ConditionalsTempl(first, second, third bool) templ.Component
- func DeepNestingTempl() templ.Component
- func EmptyPageTempl() templ.Component
- func FormTempl() templ.Component
- func HTMLEscapingTempl(content string) templ.Component
- func LargeTextTempl(text string) templ.Component
- func ListTempl(items []string) templ.Component
- func ManyAttributesTempl() templ.Component
- func MixedContentTempl() templ.Component
- func RawTextTempl(html string) templ.Component
- func RealWorldTempl(users []User) templ.Component
- func SVGTempl() templ.Component
- func SimpleElementTempl() templ.Component
- func TableTempl(rows int) templ.Component
- func VoidElementsTempl() templ.Component
- type ConditionalsData
- type RealWorldData
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionalsTempl ¶
Benchmark 7: Complex Conditionals
func HTMLEscapingTempl ¶
Benchmark 10: HTML Escaping
func RealWorldTempl ¶
Benchmark 17: Real World Page (Concurrent) Full realistic page with all features for concurrent benchmarking
Types ¶
type ConditionalsData ¶
type RealWorldData ¶
type RealWorldData struct {
Users []User
}
Click to show internal directories.
Click to hide internal directories.