Documentation ¶
Index ¶
- type Decoder
- func (d *Decoder) Close() error
- func (d *Decoder) Init(in device.Reader) error
- func (*Decoder) Name() string
- func (d *Decoder) ReadHeader(_ string, possibleHeader []string) ([]string, error)
- func (d *Decoder) ReadRow() ([]*string, error)
- func (d *Decoder) Reset() error
- func (d *Decoder) Skip(rows int) error
- type Encoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct { Null null.Encoding Comma, Comment rune Quote rune //unused TrimLeadingSpace bool //unused UseCRLF bool //unused Strict bool NoHeader bool // contains filtered or unexported fields }
Decoder is a CSV decoder.
func (*Decoder) ReadHeader ¶
ReadHeader configures the decoder and returns the first row of the CSV.
Click to show internal directories.
Click to hide internal directories.