Versions in this module Expand all Collapse all v0 v0.2.0 May 3, 2024 v0.1.4 Apr 10, 2024 Changes in this version + const QuoteColumnIdxesPrefix + const QuoteColumnIdxesSeparator + var ErrBareQuote = errors.New("bare \" in non-quoted-field") + var ErrFieldCount = errors.New("wrong number of fields") + var ErrQuote = errors.New("extraneous or missing \" in quoted-field") + var ErrTrailingComma = errors.New("extra delimiter at end of line") + type ParseError struct + Column int + Err error + Line int + StartLine int + func (e *ParseError) Error() string + func (e *ParseError) Unwrap() error + type Reader struct + Comma rune + Comment rune + FieldsPerRecord int + LazyQuotes bool + ReuseRecord bool + TrailingComma bool + TrimLeadingSpace bool + func NewReader(r io.Reader) *Reader + func (r *Reader) FieldPos(field int) (line, column int) + func (r *Reader) InputOffset() int64 + func (r *Reader) Read() (record []string, err error) + func (r *Reader) ReadAll() (records [][]string, err error) + type Writer struct + Comma rune + UseCRLF bool + func NewWriter(w io.Writer) *Writer + func (w *Writer) Error() error + func (w *Writer) Flush() + func (w *Writer) Write(record []string, quoteEmptyStrIdxs map[int]bool) error + func (w *Writer) WriteAll(records [][]string) error