writer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvWriter

type CsvWriter struct {
	// contains filtered or unexported fields
}

func (CsvWriter) Flush

func (writer CsvWriter) Flush()

func (CsvWriter) Write

func (writer CsvWriter) Write(row Writable) error

type JSONWriter

type JSONWriter struct {
	// contains filtered or unexported fields
}

func (JSONWriter) Flush

func (writer JSONWriter) Flush()

func (JSONWriter) Write

func (writer JSONWriter) Write(row Writable) error

type Writable

type Writable interface {
	Array() []string
}

type Writer

type Writer interface {
	Write(Writable) error
	Flush()
}

func NewWriter

func NewWriter(writer io.Writer, outputType string) Writer

Jump to

Keyboard shortcuts

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