iter

package
v0.0.0-...-f89cf20 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntSlice

type IntSlice types.IntSlice

func (IntSlice) Iter

func (i IntSlice) Iter() Iterator

type IntoIterator

type IntoIterator interface {
	IntoIter() Iterator
}

type Iter

type Iter interface {
	Iter() Iterator
}

type Iterator

type Iterator interface {
	Next() (interface{}, bool)
}

func Interval

func Interval(d time.Duration) Iterator

func Repeat

func Repeat(v interface{}, n int64) Iterator

type IteratorExt

type IteratorExt interface {
	Iterator
	Map(fn func(item interface{}) interface{}) *Map
}

type Map

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

func (*Map) Next

func (m *Map) Next() (interface{}, bool)

Jump to

Keyboard shortcuts

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