6 ms·
Originally the API was completely asynchronous (every "request" function returned a channel). I got a lot of feedback that I shouldn't do that, so I moved the
by levigross 11y ago
Originally the API was completely asynchronous (every "request" function returned a channel).
I got a lot of feedback that I shouldn't do that, so I moved the asynchronous requests to specific functions e.g GetAsync and made the standard API synchronous.
- sagichmal 11y agoYou should go further, removing the async methods altogether. In Go, making sync APIs async is trivial and well-understood.