This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cancel when the main context is done, as well
Go's `case` statements do not fall through, so the `<-ctx.Done()` case actually doesn't cancel the request. This commit ensures that the request is canceled if the main context is done, as well.
- Loading branch information