gopiter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key(i Iterator, key interface{})

func Next

func Next(i Iterator) bool

func Value

func Value(i Iterator, value interface{})

Types

type Iterator

type Iterator interface {
	Next() bool
	Key() reflect.Value
	Value() reflect.Value
}

func NewIter

func NewIter(container interface{}) (iter Iterator)

Jump to

Keyboard shortcuts

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