Categorygithub.com/devmetal/graphql
modulepackage
0.3.0
Repository: https://github.com/devmetal/graphql.git
Documentation: pkg.go.dev

# README

devmatl/graphql

Build Status

This is a fork of a graphql client implementation

The original documentation and source code is avaiable at here: https://github.com/machinebox/graphql

Installation

Make sure you have a working Go environment. To install graphql, simply run:

$ go get github.com/devmetal/graphql

Usage

Pls find the original documentation

# Functions

NewClient makes a new Client capable of making GraphQL requests.
NewRequest makes a new Request with the specified string.
WithHTTPClient specifies the underlying http.Client to use when making requests.

# Structs

Client is a client for interacting with a GraphQL API.
Request is a GraphQL request.

# Type aliases

ClientOption are functions that are passed into NewClient to modify the behaviour of the Client.
A Header represents the key-value pairs in an HTTP header.