//
pkg.gl
Category
github.com/packtpublishing/go-cookbook
Chapter09
channels
package
0.0.0-20230130100827-6c64ebff31b2
Repository:
https://github.com/packtpublishing/go-cookbook.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
32 SLOC
#
Packages
example
No description provided by the author
#
Functions
Printer
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.
Sender
Sender sends "tick"" on ch until done is written to, then it sends "sender done." and exits.