mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-24 13:36: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}
|
||||
select {
|
||||
case <-done:
|
||||
// TODO: need to refactor the code, this might be a bug since
|
||||
// this will never execute.
|
||||
return
|
||||
// This is where we write the Result to our channel
|
||||
case results <- result:
|
||||
|
Loading…
Reference in New Issue
Block a user