adapters

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntIterator added in v0.2.0

func IntIterator(upperBound int) iterator.Iterator[int]

IntIterator returns an iterator that iterates over the integers from 0 to upperBound.

func OfSlice

func OfSlice[T any](elems ...T) iterator.Iterator[T]

func UintIterator added in v0.2.0

func UintIterator(upperBound uint) iterator.Iterator[uint]

UintIterator returns an iterator that iterates over the unsigned integers from 0 to upperBound.

Types

type LineReader added in v0.3.0

type LineReader struct {
	// contains filtered or unexported fields
}

func NewLineReader added in v0.3.0

func NewLineReader(r io.Reader) *LineReader

func (*LineReader) Next added in v0.3.0

func (i *LineReader) Next() optional.Optional[result.Result[[]byte]]

Jump to

Keyboard shortcuts

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