Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new output element with optional child nodes Example: output.New() Renders: <output></output>
func RawText ¶
func RawText(content string) *element
RawText Creates a new output element with raw text content Example: output.RawText("<strong>100</strong>") Renders: <output><strong>100</strong></output>
func RawTextf ¶
RawTextf Creates a new output element with formatted raw text content as unescaped HTML Example: output.RawTextf("<strong>%d</strong>", 100) Renders: <output><strong>100</strong></output>
func Static ¶
func Static(content string) *element
Static Creates a new output element with static text content Example: output.Static("Total") Renders: <output>Total</output>
Types ¶
Click to show internal directories.
Click to hide internal directories.