Documentation ¶
Index ¶
- type BufferedFormatter
- func (f *BufferedFormatter) Copy() *BufferedFormatter
- func (f *BufferedFormatter) FormatSelectionSet(sets ast.SelectionSet) string
- func (f *BufferedFormatter) WithIndent(indent string) *BufferedFormatter
- func (f *BufferedFormatter) WithNewLine(newLine string) *BufferedFormatter
- func (f *BufferedFormatter) WithOperationName(operationName string) *BufferedFormatter
- func (f *BufferedFormatter) WithOperationType(operationType ast.Operation) *BufferedFormatter
- func (f *BufferedFormatter) WithSchema(schema *ast.Schema) *BufferedFormatter
- type Formatter
- func (f *Formatter) Copy() *Formatter
- func (f *Formatter) FormatSelectionSet(sets ast.SelectionSet)
- func (f *Formatter) WithIndent(indent string) *Formatter
- func (f *Formatter) WithNewLine(newLine string) *Formatter
- func (f *Formatter) WithOperationName(operationName string) *Formatter
- func (f *Formatter) WithOperationType(operationType ast.Operation) *Formatter
- func (f *Formatter) WithSchema(schema *ast.Schema) *Formatter
- func (f *Formatter) WithWriter(w io.Writer) *Formatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferedFormatter ¶ added in v0.1.7
type BufferedFormatter struct {
*Formatter
}
func NewBufferedFormatter ¶ added in v0.1.7
func NewBufferedFormatter() *BufferedFormatter
func NewDebugBufferedFormatter ¶ added in v0.1.7
func NewDebugBufferedFormatter() *BufferedFormatter
func (*BufferedFormatter) Copy ¶ added in v0.1.7
func (f *BufferedFormatter) Copy() *BufferedFormatter
func (*BufferedFormatter) FormatSelectionSet ¶ added in v0.1.7
func (f *BufferedFormatter) FormatSelectionSet(sets ast.SelectionSet) string
func (*BufferedFormatter) WithIndent ¶ added in v0.1.7
func (f *BufferedFormatter) WithIndent(indent string) *BufferedFormatter
func (*BufferedFormatter) WithNewLine ¶ added in v0.1.7
func (f *BufferedFormatter) WithNewLine(newLine string) *BufferedFormatter
func (*BufferedFormatter) WithOperationName ¶ added in v0.1.7
func (f *BufferedFormatter) WithOperationName(operationName string) *BufferedFormatter
func (*BufferedFormatter) WithOperationType ¶ added in v0.1.8
func (f *BufferedFormatter) WithOperationType(operationType ast.Operation) *BufferedFormatter
func (*BufferedFormatter) WithSchema ¶ added in v0.1.7
func (f *BufferedFormatter) WithSchema(schema *ast.Schema) *BufferedFormatter
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func NewFormatter ¶
func NewFormatter() *Formatter
func (*Formatter) FormatSelectionSet ¶
func (f *Formatter) FormatSelectionSet(sets ast.SelectionSet)
func (*Formatter) WithIndent ¶ added in v0.1.7
func (*Formatter) WithNewLine ¶ added in v0.1.7
func (*Formatter) WithOperationName ¶ added in v0.1.7
func (*Formatter) WithOperationType ¶ added in v0.1.8
func (*Formatter) WithSchema ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.