output

package
v0.0.0-...-03ea1a5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAllJSON

func WriteAllJSON(w io.Writer, tables []TableResult) error

WriteAllJSON writes multiple table results as an indented JSON array.

func WriteCSV

func WriteCSV(w io.Writer, result *extract.Result) error

WriteCSV writes the extraction result as CSV with a header row.

func WriteJSON

func WriteJSON(w io.Writer, result *extract.Result) error

WriteJSON writes the extraction result as indented JSON.

func WriteParquet

func WriteParquet(w io.Writer, result *extract.Result) error

WriteParquet is a stub — parquet output is not yet implemented.

Types

type TableResult

type TableResult struct {
	Name    string           `json:"name"`
	Context string           `json:"context,omitempty"`
	Records []extract.Record `json:"records"`
}

TableResult holds extracted data for one table, used by WriteAllJSON.

Jump to

Keyboard shortcuts

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