(opts []RequestOption)
| 96 | } |
| 97 | |
| 98 | func newRequestConfig(opts []RequestOption) requestConfig { |
| 99 | cfg := requestConfig{headers: map[string]string{}} |
| 100 | for _, opt := range opts { |
| 101 | opt(&cfg) |
| 102 | } |
| 103 | return cfg |
| 104 | } |
| 105 | |
| 106 | // GraphQL performs a GraphQL request using the query string and parses the response into data receiver. If there are errors in the response, |
| 107 | // GraphQLError will be returned, but the receiver will also be partially populated. |
no outgoing calls
no test coverage detected