Documentation ¶
Overview ¶
A wrapper around qoquery and a means to create markup structures
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAmpDocRenderer ¶
func NewAmpDocRenderer(d *HtmlDoc) *ampDocRenderer
func NewAmpNodeRenderer ¶
func NewAmpNodeRenderer(n *Node) nodeRenderer
func NewHtmlDocRenderer ¶
func NewHtmlDocRenderer(d Doc) *htmlDocRenderer
func NewHtmlNodeRenderer ¶
func NewHtmlNodeRenderer(n *Node) nodeRenderer
Types ¶
type HtmlDoc ¶
type HtmlDoc struct {
// contains filtered or unexported fields
}
HtmlDoc sort of wraps a goquery document and allows to add Nodes to the head and/or body of the document
func NewHtmlDoc ¶
func NewHtmlDoc() *HtmlDoc
NewHtmlDoc createas a pointer to a new HtmlDoc and initializes it with an (almost) empty goquery.Document
func (*HtmlDoc) AddBodyNode ¶
Add a Node which is going to end up in the body of the HTML Document
func (*HtmlDoc) AddHeadNode ¶
Add a Node which is going to end up in the head of the HTML Document
func (*HtmlDoc) AddRootAttr ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
The Node is a programmatic description of HTML dom nodes
Click to show internal directories.
Click to hide internal directories.