Documentation
¶
Overview ¶
Package dataset streams the rows of a data file (`--data`): a CSV file with a header row, or a JSON array of objects. Rows are read one at a time, so memory does not grow with the number of rows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field struct {
Name string
// Raw is the cell text (CSV) or the JSON text of the value (JSON).
Raw string
// JSON reports whether Raw is JSON text.
JSON bool
}
Field is one cell of a row.
Click to show internal directories.
Click to hide internal directories.