...

Package formatter

import "github.com/vektah/gqlparser/formatter"
Overview
Index

Overview ▾

type Formatter

type Formatter interface {
    FormatSchema(schema *ast.Schema)
    FormatSchemaDocument(doc *ast.SchemaDocument)
    FormatQueryDocument(doc *ast.QueryDocument)
}

func NewFormatter

func NewFormatter(w io.Writer) Formatter