Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Csv ¶
type Csv struct { ParsedCount int // data lines parsed count (data lines refers to lines below title columns) TriedCount int // data lines tried count (data lines refers to lines below title columns) // contains filtered or unexported fields }
Csv defines a struct for csv parsing and handling
func (*Csv) BeginCsvReader ¶
BeginCsvReader will start the csv parsing, this is called AFTER SkipHeaderRow is called, this sets the csv reader object and allows csv parsing access
func (*Csv) ReadCsv ¶
ReadCsv will read the current line of csv row, and return parsed csv elements, each time ReadCsv is called, the next row of csv is read
func (*Csv) SkipHeaderRow ¶
SkipHeaderRow will skip one header row, before calling csv parser loop, call this skip row to advance forward
Click to show internal directories.
Click to hide internal directories.