Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadCsvWithHeader ¶
func ReadCsvWithHeader(r io.Reader, rowParser CsvRowParser) (rows []interface{}, err error)
ReadCsvWithHeader parses lines of a CSV file that has a header
func ReadCsvWithoutHeader ¶
func ReadCsvWithoutHeader(r io.Reader, rowParser CsvRowParser) (rows []interface{}, err error)
ReadCsvWithoutHeader parses lines of a CSV file that does not have a header
Types ¶
type CsvRowParser ¶
CsvRowParser is a function that parses a row of a CSV
Click to show internal directories.
Click to hide internal directories.