Discover Packages
github.com/maisonarmani/go-cookbook
chapter9
channels
package
Version:
v0.0.0-...-b631e0d
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Printer will print anything sent on the ch chan
and will print tock every 200 milliseconds
this will repeat forever until a context is
Done, i.e. timed out or cancelled
Sender sends "tick"" on ch until done is
written to, then it sends "sender done."
and exits
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.