diff options
| -rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ import ( "time" ) +// A silly Ball type based on the original ping-pong example. type Ball struct{ hits int } func main() { |
![]() |
index : pingpong | |
| A demo of graceful worker goroutine cancellation. | Brandon Irizarry |
| summaryrefslogtreecommitdiff |
| -rw-r--r-- | main.go | 1 |
@@ -8,6 +8,7 @@ import ( "time" ) +// A silly Ball type based on the original ping-pong example. type Ball struct{ hits int } func main() { |