Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter interface { FormatSchema(schema *ast.Schema) FormatSchemaDocument(doc *ast.SchemaDocument) FormatQueryDocument(doc *ast.QueryDocument) }
func NewFormatter ¶
func NewFormatter(w io.Writer, options ...FormatterOption) Formatter
type FormatterOption ¶ added in v2.4.2
type FormatterOption func(*formatter)
func WithIndent ¶ added in v2.4.2
func WithIndent(indent string) FormatterOption
Click to show internal directories.
Click to hide internal directories.