Documentation ¶
Index ¶
- type Format
- type Iterator
- func NewColumnIterator(format Format, reader io.Reader) *Iterator
- func NewColumnIteratorWithTimestampFormat(format Format, reader io.Reader, timestampFormat string) *Iterator
- func NewIterator(reader io.Reader, unmarshaller RecordUnmarshaller) *Iterator
- func NewValueIterator(format Format, reader io.Reader) *Iterator
- type RecordUnmarshaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator reads records from a Reader. Each line should contain a single record in the following form: field1,field2,...
func NewIterator ¶
func NewIterator(reader io.Reader, unmarshaller RecordUnmarshaller) *Iterator
NewIterator creates a CSVIterator from a Reader.
type RecordUnmarshaller ¶
func ColumnUnmarshaller ¶
func ColumnUnmarshaller(format Format) RecordUnmarshaller
func ColumnUnmarshallerWithTimestamp ¶
func ColumnUnmarshallerWithTimestamp(format Format, timestampFormat string) RecordUnmarshaller
func FieldValueUnmarshaller ¶
func FieldValueUnmarshaller(format Format) RecordUnmarshaller
Click to show internal directories.
Click to hide internal directories.