tsv

package
v0.0.0-...-26c1b15 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FancyRows

func FancyRows(r io.Reader) (header []string, rows <-chan Row)

func Lookup

func Lookup(header []string, name string) int

func Rows

func Rows(r io.Reader) (header []string, vals <-chan []string)

func WriteRow

func WriteRow(w io.Writer, vals []string)

Types

type Row

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

func (Row) AsMap

func (r Row) AsMap() map[string]string

func (Row) S

func (r Row) S(k, v string) Row

func (Row) V

func (r Row) V(name string) string

func (Row) W

func (r Row) W(w io.Writer)

Jump to

Keyboard shortcuts

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