importer

package
v0.0.0-...-ea1fb9e Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidHeader       = errors.New("invalid header")
	ErrInvalidHeaderLength = errors.New("invalid header length")
	ErrInvalidRowLength    = errors.New("invalid row length")
	ErrNoRowsInFile        = errors.New("there are no rows in this file")
)

Functions

func ImportCSV

func ImportCSV(rd io.Reader) ([]*db.Entry, error)

func SetupCSV

func SetupCSV(t *testing.T, data [][]string) (io.ReadWriter, func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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