csvReader

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvFileReader

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

func NewCSV

func NewCSV(fname string, sch schema.SchemaRules) *CsvFileReader

func (*CsvFileReader) Read

func (r *CsvFileReader) Read() (row []string, err error)

func (*CsvFileReader) ReadHeader

func (r *CsvFileReader) ReadHeader() (fieldNames []string, err error)

func (*CsvFileReader) Row

func (r *CsvFileReader) Row() int

Jump to

Keyboard shortcuts

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