This condition should be reversed. Err returns a non-nil error value after Done is closed.2Grigorii ChudnovAlec HolmesFollowAug 8, 2017 · 1 min readThanks for catching that Grigoriy Chudnov. I’ve fixed the code.