Directories ¶
Path | Synopsis |
---|---|
Package ast defines the GraphQL AST and offers helper methods to interact with the AST, mostly to get the necessary information from the ast.
|
Package ast defines the GraphQL AST and offers helper methods to interact with the AST, mostly to get the necessary information from the ast. |
Package astimport can be used to import Nodes manually into an AST.
|
Package astimport can be used to import Nodes manually into an AST. |
Package astnormalization helps to transform parsed GraphQL AST's into a easier to use structure.
|
Package astnormalization helps to transform parsed GraphQL AST's into a easier to use structure. |
Package astparser is used to turn raw GraphQL documents into an AST.
|
Package astparser is used to turn raw GraphQL documents into an AST. |
Package astprinter takes a GraphQL document and prints it as a String with optional indentation.
|
Package astprinter takes a GraphQL document and prints it as a String with optional indentation. |
Package asttransform contains a set of helper methods to make recursive ast transformations possible.
|
Package asttransform contains a set of helper methods to make recursive ast transformations possible. |
Package astvalidation implements the validation rules specified in the GraphQL specification.
|
Package astvalidation implements the validation rules specified in the GraphQL specification. |
Package astvisitor enables efficient and powerful traversal of GraphQL document AST's.
|
Package astvisitor enables efficient and powerful traversal of GraphQL document AST's. |
engine
|
|
Package imports helps combining multiple GraphQL documents into one document using import comments.
|
Package imports helps combining multiple GraphQL documents into one document using import comments. |
internal
|
|
unsafeparser
Package unsafeparser is for testing purposes only when error handling is overhead and panics are ok
|
Package unsafeparser is for testing purposes only when error handling is overhead and panics are ok |
xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
|
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. |
Package introspection takes a GraphQL Schema and provides the introspection JSON to fulfill introspection queries.
|
Package introspection takes a GraphQL Schema and provides the introspection JSON to fulfill introspection queries. |
Package lexer contains the logic to turn an ast.Input into lexed tokens
|
Package lexer contains the logic to turn an ast.Input into lexed tokens |
identkeyword
Package identkeyword contains all possible keywords for GraphQL identifiers
|
Package identkeyword contains all possible keywords for GraphQL identifiers |
keyword
Package keyword contains all possible GraphQL keywords
|
Package keyword contains all possible GraphQL keywords |
literal
Package literal contains a selection of frequently used literals with GraphQL APIs
|
Package literal contains a selection of frequently used literals with GraphQL APIs |
position
Package position contains the objects and logic to properly describe the position of a token in a GraphQL document
|
Package position contains the objects and logic to properly describe the position of a token in a GraphQL document |
runes
Package runes contains all possible 'special' runes in a GraphQL document
|
Package runes contains all possible 'special' runes in a GraphQL document |
token
Package token contains the object and logic needed to describe a lexed token in a GraphQL document
|
Package token contains the object and logic needed to describe a lexed token in a GraphQL document |
Package middleware contains useful middleware components for GraphQL services, e.g.
|
Package middleware contains useful middleware components for GraphQL services, e.g. |
operation_complexity
package operation_complexity implements two common algorithms used by GitHub to calculate GraphQL query complexity
|
package operation_complexity implements two common algorithms used by GitHub to calculate GraphQL query complexity |
Package operationreport helps generating the errors object for a GraphQL Operation.
|
Package operationreport helps generating the errors object for a GraphQL Operation. |
Package playground is a http.Handler hosting the GraphQL Playground application.
|
Package playground is a http.Handler hosting the GraphQL Playground application. |
testing
|
|
Click to show internal directories.
Click to hide internal directories.