1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-25 14:36:06 +03:00

Fix formatting of generator.md

This commit is contained in:
Gregory Ganley 2021-02-20 16:12:27 -05:00 committed by GitHub
parent f978e42036
commit f9557e066b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ func Count(start int, end int) chan int {
ch := make(chan int) ch := make(chan int)
go func(ch chan int) { go func(ch chan int) {
for i := start; i <= end ; i++ { for i := start; i <= end; i++ {
// Blocks on the operation // Blocks on the operation
ch <- i ch <- i
} }