Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new s element with optional child nodes. Examples: s.New() renders <s></s> s.New(text.Text("Old price: $100")) renders <s>Old price: $100</s>
func RawText ¶
func RawText(content string) *element
RawText Creates a new s element with raw text content. Example: s.RawText("Old price: $100") Renders: <s>Old price: $100</s>
Types ¶
Click to show internal directories.
Click to hide internal directories.