package
0.0.0-20180118220450-e73dab44213f
Repository: https://github.com/go-lang-plugin-org/go-lang-idea-plugin.git
Documentation: pkg.go.dev

# Functions

NewScanner returns a new Scanner to read from r.
ScanBytes is a split function for a Scanner that returns each byte as a token.
ScanLines is a split function for a Scanner that returns each line of text, stripped of any trailing end-of-line marker.
ScanRunes is a split function for a Scanner that returns each UTF-8-encoded rune as a token.
ScanWords is a split function for a Scanner that returns each space-separated word of text, with surrounding spaces deleted.

# Constants

MaxScanTokenSize is the maximum size used to buffer a token.

# Variables

Errors returned by Scanner.
Errors returned by Scanner.
Errors returned by Scanner.

# Structs

Scanner provides a convenient interface for reading data such as a file of newline-delimited lines of text.

# Type aliases

SplitFunc is the signature of the split function used to tokenize the input.