scanner

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrContinue is a special SplitFunc signal that says to avoid returning
	// when the modified scanner loop might otherwise do so. This should only be
	// used when an termination condition would take place.
	ErrContinue = errors.New("split func continue")
)

Functions

func MakeSplitFuncExitByAdvance

func MakeSplitFuncExitByAdvance(split bufio.SplitFunc) bufio.SplitFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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