Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteGraphQLWithoutResponse ¶ added in v0.13.0
func ExecuteGraphQLWithoutResponse(gql string, config *types.BaseConfig) error
func NewClient ¶ added in v0.35.0
func NewClient(config *types.BaseConfig) *graphql.Client
func ParseErrors ¶ added in v0.37.0
Types ¶
type GraphqlResponse ¶
type GraphqlResponse struct { Data interface{} `json:"data"` Errors []Error `json:"errors"` }
func ExecuteGraphQL ¶
func ExecuteGraphQL(gql string, config *types.BaseConfig, resultObject interface{}) (*GraphqlResponse, error)
Click to show internal directories.
Click to hide internal directories.