output

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVOutput

type CSVOutput struct {
	Headers []string
	// contains filtered or unexported fields
}

func NewCSVOutput

func NewCSVOutput(conf *config.Config) (*CSVOutput, error)

func (*CSVOutput) Close

func (out *CSVOutput) Close() error

func (*CSVOutput) WriteRow

func (out *CSVOutput) WriteRow(row map[string]string) error

type JSONLOutput

type JSONLOutput struct {
	// contains filtered or unexported fields
}

func NewJSONLOutput

func NewJSONLOutput(conf *config.Config) (*JSONLOutput, error)

func (*JSONLOutput) Close

func (out *JSONLOutput) Close() error

func (*JSONLOutput) WriteRow

func (out *JSONLOutput) WriteRow(row map[string]string) error

type Output

type Output interface {
	WriteRow(map[string]string) error
	Close() error
}

Jump to

Keyboard shortcuts

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