Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDelimiter ¶
ParseDelimiter parses the delimiter for an escape sequence. This allows windows users to pass in \t since they cannot pass "`t" or "$Tab" to the program.
Types ¶
type CSVLoader ¶
type CSVLoader struct {
SkipHeader bool
SkipParseHeader bool
Fields string
Delimiter string
Excel bool
NullDelimiter string
SkipSanitization bool
// contains filtered or unexported fields
}
CSVLoader ...
func (CSVLoader) Create ¶
func (csvl CSVLoader) Create(reader io.Reader, skipSanitization bool) ImportLoader
Create ...
type ImportLoader ¶
type ImportLoader interface {
Load() (map[string]interface{}, error)
Start() error
Finish() error
Describe() string
Create(reader io.Reader, sanitize bool) ImportLoader
}
ImportLoader ...
type Loader ¶
type Loader struct {
File string
SpecificLoader ImportLoader
Bar *uiprogress.Bar
SkipSanitization bool
// contains filtered or unexported fields
}
Loader ...
Click to show internal directories.
Click to hide internal directories.