records

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvRenderer

type CsvRenderer struct {
	Separator string
	Results   chan core.FilterResult
}

CsvRenderer renders records for CSV export

func (CsvRenderer) Render

func (wr CsvRenderer) Render(w io.Writer) error

Render renders a stream of records

type JSONRenderer

type JSONRenderer struct {
	Results chan core.FilterResult
}

JSONRenderer renders records for JSON export

func (JSONRenderer) Render

func (wr JSONRenderer) Render(w io.Writer) error

Render renders a stream of records

type YAMLRenderer

type YAMLRenderer struct {
	Results chan core.FilterResult
}

YAMLRenderer renders records for YAML export

func (YAMLRenderer) Render

func (wr YAMLRenderer) Render(w io.Writer) error

Render renders a stream of records

Jump to

Keyboard shortcuts

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