Documentation ¶
Index ¶
- func GetCSVDataType(raw []byte, separator rune) (Headers, CSVData, map[string]string, error)
- func GetCol(csvData CSVData, index int) []string
- func ReadCSV(data []byte, separator rune, hasHeaders bool) (Headers, CSVData, error)
- func WriteCSV(headers Headers, records CSVData, separator rune) ([]byte, error)
- type ApplyCSV
- type ApplyHeader
- type CSVData
- type ExplodeCSV
- type Headers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCSVDataType ¶ added in v0.0.69
GetCSVDataType is delegated to retrieve the data type for every field of the CSV Return: headers, csv data, data type, error
Types ¶
type ApplyHeader ¶ added in v0.0.101
type CSVData ¶ added in v0.0.101
type CSVData [][]string
func DecodeNonUTF8CSV ¶ added in v0.0.70
func (*CSVData) Explode ¶ added in v0.0.101
func (c *CSVData) Explode(fn ExplodeCSV) CSVData
type ExplodeCSV ¶ added in v0.0.101
Click to show internal directories.
Click to hide internal directories.