Skip to content

Commit 4c6f3dc

Browse files
Fixed comments about channels
1 parent dbae52c commit 4c6f3dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎chapter6/patterns/stream/stream.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ func main() {
2424

2525
// FindTimezones use concurrency to retrieve timezones for a set of stations.
2626
func FindTimezones() {
27-
// This channel contains all the stations that need to be processed.
27+
// This channel buffers all the stations that need to be processed.
2828
stream := make(chan *station.Station, buffer)
2929

30-
// This channel contains the current stations being processed.
30+
// This channel buffers the current stations being processed.
3131
work := make(chan *station.Station, totalWorkers)
3232

3333
// This channel is used to communicate stations that have been processed

0 commit comments

Comments
 (0)