Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseError ¶
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type Reader ¶
type Reader struct {
// Delimiter is the field delimiter.
// It is set to default comma (',') by NewReader.
Delimiter rune
// Quote is the field quote character.
// It is set to default double quote ('"') by NewReader.
Quote rune
// SpecialRecordSeparator is the special record separator.
// If not specified, a newline ('\n' '\r' '\r\n') will be used as the record separator.
SpecialRecordSeparator string
// FieldsPerRecord is the number of expected fields per record.
// FieldsPerRecord > 0 : Checks for the specified value.
// FieldsPerRecord = 0 : Check by the number of fields in the first record.
// FieldsPerRecord < 0 : No check.
FieldsPerRecord int
// contains filtered or unexported fields
}
type Writer ¶
type Writer struct {
// Delimiter is the field delimiter.
// It is set to default comma (',') by NewWriter.
Delimiter rune
// Quote is the field quote character.
// It is set to default double quote ('"') by NewWriter.
Quote rune
// If True, always quote the fields.
AllQuotes bool
// RecordSeparator is the record separator.
// It is set to default CRLF ('\r\n') by NewWriter.
RecordSeparator string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.