I have a Go Application that needs to consume a GraphQL service, now the documentation of graphQL is more oriented to the GraphQL server and not as a client. How can I do that?
I checked this example but some things are not clear to me:
- Should I have a Resolve function to each field that I am going to retrieve?
- Should I have defined the variable 'fields' with the data structure that I am expecting?
- Where can I find a very simple example of a GraphQL client in Golang?