added TODO tag for bug finding

This commit is contained in:
Jian Han 2018-01-22 23:16:37 +10:00
parent 04c011eb9d
commit 6dee362383

View File

@ -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: