csv_sqlite

package module
v0.0.0-...-5bf18b3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 8 Imported by: 1

README

csv-sqlite

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSV2DB

func CSV2DB(ctx context.Context, f io.Reader, output string, tableName string) error

func DB2CSV

func DB2CSV(ctx context.Context, input string, output io.Writer, query string) error

func FromDB

func FromDB(ctx context.Context, input string, w CSVWriter, query string) error

func ToDB

func ToDB(ctx context.Context, r CSVReader, output string, tableName string) error

Types

type CSVReader

type CSVReader interface {
	Read() (record []string, err error)
}

type CSVWriter

type CSVWriter interface {
	Write(record []string) error
}

Directories

Path Synopsis
cmd
csv-sqlite command

Jump to

Keyboard shortcuts

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