encoding

package
v0.0.0-...-086ef7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSVFileReader

func NewCSVFileReader(fname string, skip int) (*csv.Reader, func() error, errstack.E)

NewCSVFileReader opens the `fname` file and calls NewCSVReader. It also returns file close function as the second field.

func NewCSVReader

func NewCSVReader(r io.Reader, skip int) (*csv.Reader, errstack.E)

NewCSVReader creates csv.Reader. It assumes that * fields are separated with `,` * `#` is used for comments * accepts trailing commas Furthermore it reads and skips given number of records

Types

This section is empty.

Jump to

Keyboard shortcuts

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