package
0.0.0-20221203140901-8a37949a124e
Repository: https://github.com/daniil-kzn/graphql-go-tools.git
Documentation: pkg.go.dev

# Functions

NewParser returns a new parser with all values properly initialized.
NewTokenizer returns a new tokenizer.
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.
Tokenizer takes a raw input and turns it into set of tokens.