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