Documentation ¶
Index ¶
- Variables
- type ConcurrentWaitGroup
- type Csv
- type CsvOption
- func WithAppendFile() CsvOption
- func WithFilePath(filePath string) CsvOption
- func WithMissingHeader() CsvOption
- func WithRead() CsvOption
- func WithReader(reader io.ReadCloser) CsvOption
- func WithSkipErrors() CsvOption
- func WithSkipRows(rows int) CsvOption
- func WithTruncatedFile() CsvOption
- func WithWrite() CsvOption
- func WithWriter(writer io.WriteCloser) CsvOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotInReadMode = errors.New("csv is not in read mode") ErrNotInWriteMode = errors.New("csv is not in write mode") )
Functions ¶
This section is empty.
Types ¶
type ConcurrentWaitGroup ¶
type ConcurrentWaitGroup interface { Add() Done() Wait() }
type Csv ¶
type Csv[T any] struct { // contains filtered or unexported fields }
type CsvOption ¶
type CsvOption func(o *csvOptions)
func WithAppendFile ¶
func WithAppendFile() CsvOption
func WithFilePath ¶
func WithMissingHeader ¶
func WithMissingHeader() CsvOption
func WithReader ¶
func WithReader(reader io.ReadCloser) CsvOption
func WithSkipErrors ¶ added in v0.0.3
func WithSkipErrors() CsvOption
func WithSkipRows ¶
func WithTruncatedFile ¶
func WithTruncatedFile() CsvOption
func WithWriter ¶
func WithWriter(writer io.WriteCloser) CsvOption
Click to show internal directories.
Click to hide internal directories.