package formatter
import "github.com/open-policy-agent/opa/internal/gqlparser/formatter"
Index ¶
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 ¶
type FormatterOption func(*formatter)
func WithIndent ¶
func WithIndent(indent string) FormatterOption
Source Files ¶
- Version
- v0.55.0
- Published
- Jul 27, 2023
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 37 minutes ago –
Tools for package owners.