Skip to content
Documentation

Documentation

github.com/gql-go/graphql is a code-first implementation of GraphQL in Go: the schema is defined in Go code, and queries, mutations and subscriptions run against it. It follows the GraphQL specification and uses graphql-js as the reference for behaviour.

It is the community-maintained continuation of graphql-go/graphql. Code written against graphql-go/graphql v0.8.1 keeps compiling and behaving the same way; new behaviour is enabled through configuration.

Start here

Schema

Resolvers

Execution

Other topics

HTTP

Where to find what

These guides explain how to use the library. The details of each type and function are in the API reference.

Versions

The guides describe the latest release. A feature added after v0.9.0 is marked with the version that introduced it.

Getting help

  • Questions and ideas: GitHub Discussions.
  • Bugs and differences from the specification: open an issue.
  • Security problems: follow the security policy instead of opening a public issue.
  • Something wrong or missing in these pages: use “Edit this page on GitHub” on any page, or open an issue.
Last updated on