csvhelper

package module
v0.0.0-...-72fd6cb Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

README

go-csvhelper

Easy helper for CSV in GoLang

Install with

go get -u github.com/bivas/go-csvhelper

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(reader *csv.Reader, v interface{}) error

func UnmarshalFieldsByIndex

func UnmarshalFieldsByIndex(reader *csv.Reader, v interface{}, indices ...int) error

Types

type FieldMismatch

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

func (*FieldMismatch) Error

func (e *FieldMismatch) Error() string

type UnsupportedType

type UnsupportedType struct {
	Type reflect.Kind
}

func (*UnsupportedType) Error

func (e *UnsupportedType) Error() string

Jump to

Keyboard shortcuts

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