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:
parent
28cf6c4cfc
commit
abba91a6ac
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue