INNER CODE UNIT · Go
func
machinebox/graphql · graphql.go:256
func (e graphErr) Error() string {
return "graphql: " + e.Message
}
type graphResponse struct {
Data interface{}
Errors []graphErr
}
// Request is a GraphQL request.
type Request struct {
q string
vars map[string]interface{}
files []File
// Header represent any request headers that will be set
// when the request is made.
Header http.Header