csv

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EOF error = io.EOF

Functions

This section is empty.

Types

type Field added in v0.6.6

type Field []byte

func NewField added in v0.6.6

func NewField(s string) Field

func (Field) ToPrimary added in v0.6.6

func (f Field) ToPrimary() value.Primary

type Reader

type Reader struct {
	Delimiter   rune
	WithoutNull bool

	FieldsPerRecord int

	LineBreak cmd.LineBreak
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader) *Reader

func (*Reader) Read

func (r *Reader) Read() ([]Field, error)

func (*Reader) ReadAll

func (r *Reader) ReadAll() ([][]Field, error)

func (*Reader) ReadHeader

func (r *Reader) ReadHeader() ([]string, error)

Jump to

Keyboard shortcuts

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