parse

package
v0.0.0-...-1c1543c Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Record

func Record(r *csv.Reader) (site string, postID int, postType int, doc *html.Node, ok bool, err error)

Record parses the next single record from a CSV file which was obtained by using the special TSQL query on the StackExchange Data Explorer.

ok is true when a record is parsed and false when no records remain.

Whereas the argument record's HTML-as-a-string type variable is the inner HTML of some element, the returned doc is a proper HTML document: it is enclosed in a div element before being passed to the HTML parser and the HTML parser adds elements as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

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