Documentation ¶
Overview ¶
Package csv parses CSV files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSV ¶
type CSV struct {
// contains filtered or unexported fields
}
CSV is the CSV file.
func (*CSV) MarshalJSON ¶
MarshalJSON marshals the read CSV values into JSON.
func (*CSV) MarshalYAML ¶
MarshalYAML marshals the read CSV values into YAML.
type Config ¶
type Config struct { AllowMalformed bool `name:"allow-malformed" description:"allow parsing malformed CSV"` FillEmptyWith string `name:"fill-empty-with" description:"value to fill empty cells with. --allow-malformed must be set for this to be effective"` ReplaceWith string `name:"replace-with" description:"simple text find and replace. Usage --replace-with <search>,<replacement>"` }
Config are the configuration options for the CSV decoder.
Click to show internal directories.
Click to hide internal directories.