Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatGraphQL ¶
FormatGraphQL reformats the GraphQL schema and writes it to dst, returning any error encountered when calling Write.
func FormatMarkdown ¶
FormatMarkdown formats the GraphQL schema as GitHub flavored markdown and writes it to dst, returning any error encountered when calling Write.
func ParseFiles ¶
ParseFiles parses GraphQL schema definitions from the named files. The returned AST holds the combined schema of all the files. There must be at least one file, and the file's extension must be either .gql or .graphql. If an error occurs, parsing stops and the returned AST is nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.