Documentation
¶
Index ¶
- Variables
- func CodecConv(c la.Codec) ho.CodecName
- func ConfigToOpts(cfg la.EncodeConfig) []ho.EncoderFunc
- func LinesToStdout(ctx context.Context, lines iter.Seq[string], schema string, ...) error
- func LinesToStdoutDefault(ctx context.Context, lines iter.Seq[string], schema string) error
- func LinesToWriter(ctx context.Context, lines iter.Seq[string], w io.Writer, schema string, ...) error
- func LinesToWriterHamba(ctx context.Context, lines iter.Seq[string], w io.Writer, s ha.Schema, ...) error
- func LinesToWriterRecordSchema(ctx context.Context, lines iter.Seq[string], w io.Writer, rs *ha.RecordSchema, ...) error
- func MapsToStdout(ctx context.Context, m iter.Seq2[map[string]any, error], schema string, ...) error
- func MapsToStdoutDefault(ctx context.Context, m iter.Seq2[map[string]any, error], schema string) error
- func MapsToWriter(ctx context.Context, m iter.Seq2[map[string]any, error], w io.Writer, ...) error
- func MapsToWriterHamba(ctx context.Context, m iter.Seq2[map[string]any, error], w io.Writer, ...) error
- func SchemaToLinesToStdoutDefault(schema string) func(iter.Seq[string]) IO[Void]
- func SchemaToMapsToStdoutDefault(schema string) func(iter.Seq2[map[string]any, error]) IO[Void]
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidSchema error = errors.New("invalid schema") ErrInvalidField error = errors.New("invalid field") )
View Source
var DefaultSchemaToLinesToStdoutDefault func( iter.Seq[string], ) IO[Void] = SchemaToLinesToStdoutDefault(string(la.SchemaDefault))
Functions ¶
func ConfigToOpts ¶
func ConfigToOpts(cfg la.EncodeConfig) []ho.EncoderFunc
func LinesToStdout ¶
func LinesToStdoutDefault ¶
func LinesToWriter ¶
func LinesToWriterHamba ¶
func MapsToStdout ¶
func MapsToStdoutDefault ¶
func MapsToWriter ¶
func MapsToWriterHamba ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.