iterator

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	EOI = errors.New("End of iterator")
)

Functions

This section is empty.

Types

type Iterator

type Iterator struct {
	baseobject.BaseObject
}

Iterator iterator

func NewFromJSObject

func NewFromJSObject(obj js.Value) Iterator

func (Iterator) Iterator

func (i Iterator) Iterator() Iterator

func (Iterator) Next

func (i Iterator) Next() (int, interface{}, error)

type IteratorFrom

type IteratorFrom interface {
	Iterator() Iterator
}

Jump to

Keyboard shortcuts

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