Skip to content

2022

Implementation Summary for gqlgen Request

GraphQL has wonderful features, the most charming features omparing to Restful API are:

  • nested query.
  • get the data nothing more.
  • explicated data type.

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.

Design Http Client And Comparing to Standard Lib

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.