iterator

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 0 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key(it Iterator) interface{}

Key returns the iterator key. TODO: Better description for this.

func Keys

func Keys(it Iterator) []interface{}

Keys returns the iterator keys.

func Values

func Values(it Iterator) []interface{}

Values returns the iterator values.

Types

type Iterator

type Iterator struct{}

Iterator stubs a NEO iterator object type.

func Create

func Create(items []interface{}) Iterator

Create creates an iterator from the given items.

Jump to

Keyboard shortcuts

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