Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Range

func Range(coll, fn interface{}) error

Range calls the function fn on all items in coll concurrently and waits for all calls to finish.

coll may be a slice or a map. If coll is a map, fn must accept the key and the value as its arguments, and otherwise it must accept an int index and the value as its arguments.

fn may return nothing or error.

Types

This section is empty.

Source Files