Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAnonData ¶
ParseAnonData reads text files from provided directory based on provided field names. In other words if file name matches one of the provided field names, it is loaded into the map[fieldName][]anonymizationValues. Returned map will be used in anonymization process to match original values with corresponding anonymization values.
func ParseCSV ¶
ParseCSV takes a CSV file containing logs and transforms it into a list of maps, where each map entry represents a log line. Such format is required to be able to modify log data (replace original values with anonymous values). It is also returning names of the CSV columns. Names of the columns (field names) are needed to grab corresponding anonymization data.
Types ¶
This section is empty.