util

package
v0.0.0-...-894c189 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

Reader is a custom CSV Reader.

func NewReader

func NewReader(r io.Reader) *Reader

NewReader creates new CSV reader.

func (*Reader) Read

func (r *Reader) Read() (int, int, []string, error)

Read reads an element.

type Writer

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

Write is a CSV custom writer type.

func NewWriter

func NewWriter(f io.Writer) *Writer

NewWriter creates a new writer.

func (*Writer) Flush

func (w *Writer) Flush() error

func (*Writer) Write

func (w *Writer) Write(a, b int, rubbish []string) error

Write writes a CSV record a,b,rubbish...

Jump to

Keyboard shortcuts

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