tsv_reader

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TabNewlineReader

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

TabNewlineReader is a custom reader that wraps another io.Reader and reads data line by line.

func NewTabNewlineReader

func NewTabNewlineReader(r io.Reader) *TabNewlineReader

NewTabNewlineReader creates a new TabNewlineReader wrapping the provided io.Reader.

func (*TabNewlineReader) Read

func (r *TabNewlineReader) Read() ([]string, error)

Read reads one line from the underlying reader and returns a slice of strings, splitting the line by tabs.

Jump to

Keyboard shortcuts

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