Documentation ¶
Index ¶
- func Walk(node *html.Node, m Matcher) *html.Node
- func WalkAll(ch chan *html.Node, node *html.Node, m Matcher)
- func WalkPattern(node *html.Node, m ...Matcher) *html.Node
- func WalkPatternAll(ch chan *html.Node, node *html.Node, m ...Matcher)
- type Class
- type ClassFull
- type Id
- type Matcher
- type Tag
- type Text
- type TextNoTrim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WalkPattern ¶
Get first grandchild node matching the m pattern
Types ¶
type Class ¶
type Class string // "one" or "two" will match class="one two"
Implements the matcher interface
type ClassFull ¶
type ClassFull string // only "one two" will match class="one two"
Implements the matcher interface
Click to show internal directories.
Click to hide internal directories.