Documentation
¶
Index ¶
- Variables
- func NewIterator(reader *CsvReader) ziter.Iterator[Line]
- type CsvIterator
- type CsvReader
- type Line
- func (l Line) Data() []string
- func (l Line) Get(key string) (val string, err error)
- func (l Line) GetBool(key string) (val bool, err error)
- func (l Line) GetFloat32(key string) (val float32, err error)
- func (l Line) GetFloat64(key string) (val float64, err error)
- func (l Line) GetInt(key string) (val int, err error)
- func (l Line) GetInt32(key string) (val int32, err error)
- func (l Line) GetInt64(key string) (val int64, err error)
- func (l Line) GetTime(key string, layouts ...string) (val time.Time, err error)
- func (l Line) GetUint(key string) (val uint, err error)
- func (l Line) GetUint32(key string) (val uint32, err error)
- func (l Line) GetUint64(key string) (val uint64, err error)
- func (l Line) MustGet(key string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidColumn = errors.New("no column with that name exists") ErrNoData = errors.New("no data exists for that column") )
Functions ¶
Types ¶
type CsvIterator ¶ added in v0.10.13
type CsvIterator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.