mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-24 21:46:03 +03:00
added TODO tag for bug finding
This commit is contained in:
parent
04c011eb9d
commit
6dee362383
@ -33,6 +33,8 @@ func errorHandling() {
|
|||||||
result = Result{Error: err, Response: resp}
|
result = Result{Error: err, Response: resp}
|
||||||
select {
|
select {
|
||||||
case <-done:
|
case <-done:
|
||||||
|
// TODO: need to refactor the code, this might be a bug since
|
||||||
|
// this will never execute.
|
||||||
return
|
return
|
||||||
// This is where we write the Result to our channel
|
// This is where we write the Result to our channel
|
||||||
case results <- result:
|
case results <- result:
|
||||||
|
Loading…
Reference in New Issue
Block a user