csv

package
v3.8.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

csv

-- import "gopkg.in/Clever/optimus.v3/sinks/csv"

Usage

func New
func New(out io.Writer) optimus.Sink

New writes all of the Rows in a Table to a CSV file. It assumes that all Rows have the same headers. Columns are written in alphabetical order.

func NewWithCsvWriter
func NewWithCsvWriter(writer *csv.Writer) optimus.Sink

NewWithCsvWriter writes all of the Rows in a Table to a CSV file using the options in the CSV writer. It assumes that all Rows have the same headers. Columns are written in alphabetical order.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(out io.Writer) optimus.Sink

New writes all of the Rows in a Table to a CSV file. It assumes that all Rows have the same headers. Columns are written in alphabetical order.

func NewWithCsvWriter

func NewWithCsvWriter(writer *csv.Writer) optimus.Sink

NewWithCsvWriter writes all of the Rows in a Table to a CSV file using the options in the CSV writer. It assumes that all Rows have the same headers. Columns are written in alphabetical order.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL