Documentation ¶
Overview ¶
Package csv provides helpers to write CSV files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteToCSV ¶
WriteToCSV writes the given data to a CSV file, optionally using the given encoders to marshal custom types. Will write a header row if the given file is empty. Wraps github.com/jszwec/csvutil
Types ¶
type CSVEncoder ¶
CSVEncoder is a custom encoder for marshalling types to CSV files.
Click to show internal directories.
Click to hide internal directories.