bufiowrapper

package
v0.0.0-...-a080504 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 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