package
Version:
v1.5.3
Opens a new window with list of versions in this module.
Published: Feb 16, 2024
License: LGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package graphql provides wrappers for graphQL API objects.
type Request struct {
Query string `json:"query"`
Variables map[string]interface{} `json:"variables,omitempty"`
}
Request is used to build a GraphQL query.
type Response[T any] struct {
Data T `json:"data,omitempty"`
Errors []gqlerror.Error `json:"errors,omitempty"`
}
Response is the standard object returned by a GraphQL API.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.