csvindexer

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColumnsFromFiles

func GetColumnsFromFiles(fs fs.FS, files []string) ([]string, error)

Types

type CSVIndexer

type CSVIndexer struct {
	FS fs.FS
	schema.CSVIndexer
}

func NewCSVIndexer

func NewCSVIndexer(fs fs.FS, files []string) (*CSVIndexer, error)

func (*CSVIndexer) Columns

func (r *CSVIndexer) Columns() []string

func (*CSVIndexer) Fetch

func (r *CSVIndexer) Fetch(idx int) ([]string, error)

func (*CSVIndexer) Range

func (r *CSVIndexer) Range(fn func(row []string) bool) error

func (*CSVIndexer) Total

func (r *CSVIndexer) Total() int

Jump to

Keyboard shortcuts

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