README ¶ Gout Format CSV Provides a CSV formatter for use with Gout Custom Headers By default, we use the csvutil auto headers. If you provide the Formatter object with a list of custom headers, the csv output will use that instead Formatter{ headers []string{"foo", "bar", "baz"}, } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Formatter func (w Formatter) Format(v interface{}) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Formatter ¶ type Formatter struct { Headers []string } Formatter is the CSV formatter for Gout func (Formatter) Format ¶ func (w Formatter) Format(v interface{}) ([]byte, error) Source Files ¶ View all Source files csv.go Click to show internal directories. Click to hide internal directories.