Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyFromCSV ¶
KeyFromCSV generates a 'key' of fields values by concatenating the field values in the order received in fields.
If returned string is empty then the fields were not found.
If a fields index value is out of range then that field is ignored and not included in the key.
func KeyFromJSON ¶
KeyFromJSON generates a 'key' of fields values by concatenating the field values in the order received in fields.
If returned string is empty then the fields were not found.
Types ¶
type Dedup ¶
type Dedup struct {
// contains filtered or unexported fields
}
Dedup will dedup lines added to AddLine by the provided key. Newer lines replace older lines. If order is important then consider sorting all the lines first.
Click to show internal directories.
Click to hide internal directories.