Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new title element with text content Example: title.New() Renders: <title></title>
func RawText ¶
func RawText(content string) *element
RawText Creates a new title element with raw text content Example: title.RawText("Page & Title") Renders: <title>Page & Title</title>
func RawTextf ¶
RawTextf Creates a new title element with formatted raw text content Example: title.RawTextf("%s %s %s", "Page", "&", "Title") Renders: <title>Page & Title</title>
func Static ¶
func Static(content string) *element
Static Creates a new title element with static text content. Example: title.Static("Hello World") Renders: <title>Hello World</title>
Types ¶
Click to show internal directories.
Click to hide internal directories.