Versions in this module Expand all Collapse all v0 v0.0.4 Feb 14, 2022 v0.0.3 Jan 10, 2022 Changes in this version + type Client struct + BaseURL string + Client *http.Client + HTTPRequestOptions []HTTPRequestOption + func NewClient(client *http.Client, baseURL string, options ...HTTPRequestOption) *Client + func (c *Client) Post(ctx context.Context, operationName, query string, respData interface{}, ...) error + type ErrorResponse struct + GqlErrors *gqlerror.List + NetworkError *HTTPError + func (er *ErrorResponse) Error() string + func (er *ErrorResponse) HasErrors() bool + type GqlErrorList struct + Errors gqlerror.List + func (e *GqlErrorList) Error() string + type HTTPError struct + Code int + Message string + type HTTPRequestOption func(req *http.Request) + type Request struct + OperationName string + Query string + Variables map[string]interface{}