csv

package
v0.0.0-...-341372b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 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 {

	// If IgnoreHeader is true, ignore header record when read. Default is true.
	IgnoreHeader bool
	// contains filtered or unexported fields
}

Reader reads records from money forward csv file.

func NewReader

func NewReader(r io.Reader) *Reader

NewReader returns a new reader that reads from r.

func (*Reader) Read

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

Read reads one record from r.

func (*Reader) ReadAll

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

ReadAll reads all the remaining records from r.

Jump to

Keyboard shortcuts

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