func PrintIndent(document, definition *ast.Document, indent []byte, out io.Writer) error {
	printer := Printer{
		indent: indent,
	}
	return printer.Print(document, definition, out)
}
PrintIndent is the same as Print but accepts an additional indent parameter to set indentation.
package astprinter
import (
	"bytes"
	"io"
	"github.com/jensneuse/graphql-go-tools/pkg/ast"
	"github.com/jensneuse/graphql-go-tools/pkg/astvisitor"
	"github.com/jensneuse/graphql-go-tools/pkg/lexer/literal"
)
func Print(document, definition *ast.Document, out io.Writer) error {
	printer := Printer{}
	return printer.Print(document, definition, out)
}