031rangeOverChannels

command
v0.0.0-...-db3ee8d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MPL-2.0 Imports: 1 Imported by: 0

README

Range over channels

We have seen how range provides iteration over basic data structures. We can also use range syntax to iterate over values received from a channel.

It is possible to close a non-empty channel and still have the remaining values be received.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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