Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// CacheDir is the root path for all temporary files.
CacheDir string
// DownloadDir is used to store downloaded files.
DownloadDir string
// ExtractDir is used to store extracted files of ColDP archive.
ExtractDir string
// WithSloppyCSV allows to have more fields in a row, than it should have.
WrongFieldsNum gnfmt.BadRow
// Delimiter (usually tab \t) delimites between fields.
Delimiter string
// Quote (usually empty) used if a field has a delimiter in its content.
Quote string
}
Config is a configuration object for the Darwin Core Archive (DwCA) data processing.
type Option ¶
type Option func(*Config)
Option is a type of configuration options.
func OptCacheDir ¶
func OptDelimiter ¶
func OptWrongFieldsNum ¶
Click to show internal directories.
Click to hide internal directories.