Documentation
¶
Overview ¶
Package csv implements the sq driver for CSV/TSV et al.
Index ¶
- Constants
- func DetectCSV(ctx context.Context, openFn source.FileOpenFunc) (detected source.Type, score float32, err error)
- func DetectTSV(ctx context.Context, openFn source.FileOpenFunc) (detected source.Type, score float32, err error)
- func Hash(detectors []*kind.Detector) (h string, err error)
- type Provider
Constants ¶
View Source
const ( // TypeCSV is the CSV driver type. TypeCSV = source.Type("csv") // TypeTSV is the TSV driver type. TypeTSV = source.Type("tsv") )
Variables ¶
This section is empty.
Functions ¶
func DetectCSV ¶
func DetectCSV(ctx context.Context, openFn source.FileOpenFunc) (detected source.Type, score float32, err error, )
DetectCSV implements source.TypeDetectFunc.
Types ¶
Click to show internal directories.
Click to hide internal directories.