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.46.3
- Published
- Dec 9, 2022
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 45 minutes ago –
Tools for package owners.