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