mirror of
https://github.com/tmrts/go-patterns.git
synced 2025-02-18 05:23:14 +03:00
Producer Consumer Part
Fix a typo.
This commit is contained in:
parent
28cf6c4cfc
commit
abba91a6ac
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user