What is the purpose of the reader monad?
This blog answered the question of What is the purpose of the reader monad? in my view. The original answer stays on stackoverflow.
This blog answered the question of What is the purpose of the reader monad? in my view. The original answer stays on stackoverflow.
This page is a series of Design Http Client And Comparing to Standard Lib, there it mainly discussed the design of http client by myself and field RoundTripper.
In this pessage, we will continue to look up the field timeout
, also explore how the send/write could be controled by caller to avoid blocking in net/http.
GraphQL has wonderful features, the most charming features omparing to Restful API are:
Here, I will take a deep look to know how these features are implemented. Before taking an eye in the framework code, we should make a reflection first, how could these features be implemented.
The motive of this article is I cannot manage my code well especially for a client, which uses the other libraries to achieve my own goals.
As a result, I check with the code of http client. I hope I could get a lot from the source code about how to design a client properly.
This blog investigates the error types in golang and summerizes a best practice for using errors.