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.49.2
- Published
- Feb 24, 2023
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 15 minutes ago –
Tools for package owners.