Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToArrays ¶
ToArrays reads a CSV file and returns an array with each line of the file as array of strings
Parameters - filePath string - The path to the CSV file Returns - [][]string - The lines as array of string
func ToMaps ¶
func ToMaps(filePath string, replacements map[string]string) (returnMap []map[string]string, err error)
ToMaps reads a CSV file and returns an array with each line of the file as a key-value map
Parameters - filePath string - The path to the CSV file Returns - []map[string]string - The lines each one as a map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.