Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertReaderToJSON ¶
func ConvertReaderToJSON(reader io.ReadCloser) ([]byte, error)
func ConvertURLToJSON ¶
Types ¶
type Table ¶
type Table []Row
Table represents a table as a slice of Rows.
func Convert ¶
func Convert(reader io.ReadCloser) ([]Table, error)
Convert takes an io.ReadCloser and returns Tables and an error. The Tables are Rows, where each Row is a hashmap with the header string has the key. If there is an error reading from the input or parsing the HTML, Convert returns the Tables processed so far and the error.
func ConvertUrl ¶
Click to show internal directories.
Click to hide internal directories.