reader

package
v0.0.0-...-e27ff55 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: GPL-3.0 Imports: 9 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 interface {
	Extract(ctx context.Context, r io.Reader, name string) ([]ingest.RawTable, error)
}

Reader extracts raw tables from any io.Reader source. The name parameter carries the original filename — used only for metadata (SourceFile field) and format detection; no actual file path is needed.

func New

func New(name string) (Reader, error)

New returns the appropriate Reader based on the file extension in name.

Jump to

Keyboard shortcuts

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