Hacker News new | ask | show | jobs
by levigross 4004 days 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.

1 comments

You should go further, removing the async methods altogether. In Go, making sync APIs async is trivial and well-understood.