Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { PrimaryKeyPositions []int ValueColumnPositions []int Base string Delta string Additions string Modifications string }
Config is to store all command line Flags.
func (*Config) AdditionsWriter ¶
func (c *Config) AdditionsWriter() io.WriteCloser
AdditionsWriter gives the output stream for the additions in delta csv.
func (*Config) GetBaseReader ¶
GetBaseReader returns an io.Reader for the base file.
func (*Config) GetDeltaReader ¶
GetDeltaReader returns an io.Reader for the delta file.
func (*Config) GetPrimaryKeys ¶
GetPrimaryKeys is to return the --primary-key flags as digest.Positions array.
func (*Config) GetValueColumns ¶
GetValueColumns is to return the --value-columns flags as digest.Positions array.
func (*Config) ModificationsWriter ¶
func (c *Config) ModificationsWriter() io.WriteCloser
ModificationsWriter gives the output stream for the modifications in delta csv.
Click to show internal directories.
Click to hide internal directories.