Versions in this module Expand all Collapse all v1 v1.1.3 Nov 13, 2022 Changes in this version + type Element struct + Node *html.Node + func (elem *Element) AppendChild(c *Element) + func (elem *Element) Clear() + func (elem *Element) Find(selection *Match) *Element + func (elem *Element) FindAll(selection *Match) []*Element + func (elem Element) Attr(name string) string + func (elem Element) HTML() string + func (elem Element) Text() string + type HTMLParser struct + func Parse(r io.Reader) (*HTMLParser, error) + func (p HTMLParser) Find(selection *Match) *Element + func (p HTMLParser) FindAll(selection *Match) []*Element + func (p HTMLParser) FindAllFunc(selection *Match, f func(*Element)) + func (p HTMLParser) HTML() string + type Match struct + Attributes map[string]string + FirstChild *Match + Name string + Parent *Match + func (s *Match) MatchNode(node *html.Node) bool