jsonl

package
v0.1.0-40165b3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.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 Reader

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

func NewReader

func NewReader(r io.Reader) Reader

func (Reader) Close

func (r Reader) Close() error

func (Reader) ReadLines

func (r Reader) ReadLines(callback func(data []byte) error) error

func (Reader) ReadSingleLine

func (r Reader) ReadSingleLine(output interface{}) error

type Writer

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

func NewWriter

func NewWriter(w io.Writer) Writer

func (Writer) Close

func (w Writer) Close() error

func (Writer) Write

func (w Writer) Write(data interface{}) error

Jump to

Keyboard shortcuts

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