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