package
0.13.2
Repository: https://github.com/jensneuse/graphql-go-tools.git
Documentation: pkg.go.dev

# Functions

NewParser returns a new parser with all values properly initialized.
ParseGraphqlDocumentBytes takes a raw GraphQL document in byte slice format and parses it into an AST.
ParseGraphqlDocumentString takes a raw GraphQL document in string format and parses it into an AST.

# Structs

ErrUnexpectedIdentKey is a custom error object to properly render an unexpected ident key error.
ErrUnexpectedToken is a custom error object containing all necessary information to properly render an unexpected token error.
Parser takes a raw input and turns it into an AST use NewParser() to create a parser Don't create new parsers in the hot path, re-use them.