Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + 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) 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) error + func (w *Writer) WriteAll(records [][]string) error