iterators

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: LGPL-2.1 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RowsIterator

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

func NewRowsIterator

func NewRowsIterator(rows *sql.Rows) *RowsIterator

func (*RowsIterator) Next

func (s *RowsIterator) Next() *itertool.Optional[*sql.Rows]

type SliceIterator

type SliceIterator[T any] struct {
	// contains filtered or unexported fields
}

func NewSliceIterator

func NewSliceIterator[T any](slice *[]T) *SliceIterator[T]

func (*SliceIterator[T]) Next

func (s *SliceIterator[T]) Next() *itertool.Optional[T]

Jump to

Keyboard shortcuts

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