parse

package
v0.0.0-...-ca3b3db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anchors

func Anchors(node *html.Node) (result []*html.Node)

func BytesToHtmlNode

func BytesToHtmlNode(s []byte) (node *html.Node, err error)

func Elements

func Elements(node *html.Node) (result []*html.Node)

func Href

func Href(anchor *html.Node) (attr html.Attribute, err error)

func NodeIter

func NodeIter(node *html.Node, filter func(*html.Node) bool) (result []*html.Node)

func NodeIterHelper

func NodeIterHelper(node *html.Node, elements chan *html.Node, filter func(*html.Node) bool)

func ValidHrefs

func ValidHrefs(anchors []*html.Node) (hrefs []string, errs []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL