Documentation
¶
Index ¶
- func ExportToJSON(filename string, mapping interface{}) error
- func Find(root *html.Node, element string) *html.Node
- func FindAll(root *html.Node, element string) []*html.Node
- func GetRootByURL(url string) *html.Node
- func Partition(root *html.Node, query string) (*html.Node, error)
- type Stack
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportToJSON ¶
ExportToJSON takes a mapping and writes to filename
func GetRootByURL ¶
GetRootByURL returns a root node of html page if url is valid
Types ¶
type Stack ¶
Stack object allows goroutines for pushing/popping data while handling race conditions
Click to show internal directories.
Click to hide internal directories.
