Documentation
¶
Index ¶
- func False(*html.Node) bool
- func FilterNode(node *html.Node, pred Predictor) (nodes []*html.Node)
- func GetElementById(node *html.Node, id string) (result *html.Node)
- func GetElementsByClassName(node *html.Node, cls string) []*html.Node
- func GetElementsByName(node *html.Node, name string) []*html.Node
- func GetElementsByTagName(node *html.Node, tag string) []*html.Node
- func Html(node *html.Node) string
- func Main()
- func NodeAttr(node *html.Node, name string) string
- func NodeClasses(node *html.Node) (classes []string)
- func NodeText(node *html.Node) (text string)
- func ParseHtml(in io.Reader)
- func Test(r io.Reader)
- func Text(node *html.Node) string
- func True(*html.Node) bool
- func WalkNode(node *html.Node, f Processor)
- func WalkNodeUntil(node *html.Node, f Processor, pred Predictor)
- func Wget(url, filename string) (err error)
- type CSS
- type Predictor
- type Processor
- type Role
- type Selector
- type SimpleSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetElementById ¶
document.GetElementById()
func GetElementsByClassName ¶
node.GetElementsByClassName()
func GetElementsByName ¶
document.GetElementById()
func GetElementsByTagName ¶
node.GetElementsByTagName()