1
0
Fork 0
mirror of https://github.com/tmrts/go-patterns.git synced 2025-04-06 06:33:31 +03:00

Producer Consumer Part

Fix a typo.
This commit is contained in:
Wei Fu 2017-03-30 17:05:53 +08:00
parent 28cf6c4cfc
commit abba91a6ac

View file

@ -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)