Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2021 Changes in this version type CsvStruct + func NewCsvStruct(headers []string) (*CsvStruct, error) + func (r *CsvStruct) Append(row []string) error v0.0.1 Mar 20, 2019 Changes in this version + func CreateCSVReaderFromIOReadSeeker(file io.ReadSeeker) *csv.Reader + func CreateCSVReaderFromIOReader(file io.Reader) *csv.Reader + func SkipBOM(fd io.ReadSeeker) error + type CsvStruct struct + func LoadFile(csvFile string) (*CsvStruct, error) + func LoadFromCSVReader(r *csv.Reader) (*CsvStruct, error) + func LoadFromIOReader(reader io.Reader) (*CsvStruct, error) + func (r *CsvStruct) Add(s *CsvStruct) error + func (r *CsvStruct) FindEntry(headerName string, value string) ([]string, int) + func (r *CsvStruct) FindEntryI(headerIndex int, value string) ([]string, int) + func (r *CsvStruct) GetValueAtIndex(rowIndex, headerIndex int) (string, error) + func (r *CsvStruct) HeaderAtIndex(i int) (string, error) + func (r *CsvStruct) HeaderCount() int + func (r *CsvStruct) HeaderIndex(headerName string) int + func (r *CsvStruct) Headers() []string + func (r *CsvStruct) RowAtIndex(i int) []string + func (r *CsvStruct) RowCount() int + func (r *CsvStruct) SetValueAtIndex(rowIndex, headerIndex int, value string) error + func (r *CsvStruct) Write2File(f string) error