Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteItemsToFile ¶
func WriteItemsToFile[T any](items []T, jsonTagTypeMap map[string]string, filePath string, delimiter rune) (err error)
WriteItemsToFile creates a csv file from items T must have json tags set. Only the fields with a json tag get written jsonTagTypeMap is a map of [json tag]type name if filePath exists, it gets overwritten
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.