# README
graphqlclient
Simple client for sending graphql request.
Example:
graphqlClient := graphqlclient.New("http://graphql-server:8080/v1/graphql", nil, http.Header{})
var resp EmployeesResp
err := graphqlClient.Do(ctx, Request{ Query: `employees { id name }` }, &resp)
if err != nil { .... }
# Functions
New creates a GraphQL client targeting the specified GraphQL server URL.
# Structs
Client is a GraphQL client.
MockGraphqlServer would start a real httpserver, that records requests in sequence and returns given mocked responses in sequence.
Request represents the request to GraphQL endpoint.