tablescan

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBufferTimeout = 50 * time.Millisecond

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Trimmed        string
	Full           string
	TrailingSpaces string
}

func NewCell

func NewCell(full string) Cell

func (Cell) String

func (c Cell) String() string

type Scanner

type Scanner struct {
	BufferTimeout time.Duration
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner(reader io.Reader) *Scanner

func (*Scanner) Bytes

func (s *Scanner) Bytes() []byte

func (*Scanner) Cells

func (s *Scanner) Cells() []Cell

func (*Scanner) Err

func (s *Scanner) Err() error

func (*Scanner) LeadingSpaces

func (s *Scanner) LeadingSpaces() string

func (*Scanner) PeekText added in v0.3.0

func (s *Scanner) PeekText() (string, bool)

func (*Scanner) Scan

func (s *Scanner) Scan() bool

func (*Scanner) Text

func (s *Scanner) Text() string

Jump to

Keyboard shortcuts

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