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.
Click to show internal directories.
Click to hide internal directories.