bufiowrapper

package
v1.52.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bufio

type Bufio interface {
	NewScanner(io.Reader) Scanner
}

Bufio wraps method from bufio package for testing

func NewBufio

func NewBufio() Bufio

type Scanner

type Scanner interface {
	Scan() bool
	Text() string
	Err() error
}

Scanner wraps methods for bufio.Scanner type

Directories

Path Synopsis
Package mock_bufiowrapper is a generated GoMock package.
Package mock_bufiowrapper is a generated GoMock package.

Jump to

Keyboard shortcuts

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