Canceling requests in Go using context
Recently, we wrote a small client library that simplifies making parallel HTTP requests in Golang. One of the required behaviours was the cancellation of all requests that took more time than the specified collective request timeout. Here’s what the library’s…