Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitiailzedWriter ¶
InitiailzedWriter returns a Initiailzed CSV writer
Types ¶
type Config ¶
type Config struct { // Path CSV file path Path string // Comma is the field delimiter. Comma rune // Comment character without preceding whitespace are ignored. // With leading whitespace the Comment character becomes part of the // field, even if TrimLeadingSpace is true. Comment rune // If TrimLeadingSpace is true, leading white space in a field is ignored. // This is done even if the field delimiter, Comma, is white space. TrimLeadingSpace bool //HasHeader is CSV has a header? default value is true HasHeader bool //CSV headers; If blank will be populated automatically, by reading CSV or Row Header []string }
Config is a struct to hold all csv configuration
Click to show internal directories.
Click to hide internal directories.