itertools

package
v0.0.0-...-add6754 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group interface {
	Iterator
	Key() interface{}
}

type Iterator

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

func GroupBy

func GroupBy(input Iterator, keyFunc func(interface{}) interface{}) Iterator

func SliceIterator

func SliceIterator(a []interface{}) Iterator

func StringIterator

func StringIterator(a string) Iterator

Jump to

Keyboard shortcuts

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