From abba91a6ac19a24d192cc510db4f9996c048352a Mon Sep 17 00:00:00 2001 From: Wei Fu Date: Thu, 30 Mar 2017 17:05:53 +0800 Subject: [PATCH] Producer Consumer Part Fix a typo. --- concurrency/producer_consumer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concurrency/producer_consumer.go b/concurrency/producer_consumer.go index a68cb6e..e253e97 100644 --- a/concurrency/producer_consumer.go +++ b/concurrency/producer_consumer.go @@ -26,7 +26,7 @@ func main() { }(i) } - // start three consumers + // start two consumers consumer1 := pc.NewConsumer(cAddr1) pc.StartConsumer(consumer1, pAddr) consumer2 := pc.NewConsumer(cAddr2)