csvb: github.com/relops/csvb Index | Files

package csvb

import "github.com/relops/csvb"

Index

Package Files

csvb.go

Variables

var (
    ErrNoCustomHeader = errors.New("missing custom header metadata")
    ErrNoHeader       = errors.New("missing header metadata")
)

type Binder Uses

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

func NewBinder Uses

func NewBinder(reader io.Reader, opts *Options) (*Binder, error)

func (*Binder) ForEach Uses

func (b *Binder) ForEach(f func(Row) (bool, error)) error

func (*Binder) ReadRow Uses

func (b *Binder) ReadRow() (Row, error)

type Options Uses

type Options struct {
    Separator  rune
    NullMarker string
    TimeZone   *time.Location
    Header     map[int]string
    StripBOM   bool
}

type Row Uses

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

func (*Row) Bind Uses

func (r *Row) Bind(x interface{}, strategy map[string]string) error

Package csvb imports 10 packages (graph) and is imported by 2 packages. Updated 2016-07-23. Refresh now. Tools for package owners.