formatter

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Format(ctx context.Context, result *model.ValidationResult) (string, error)
}

Formatter formats validation results for output

func NewJSONFormatter

func NewJSONFormatter() Formatter

NewJSONFormatter creates a JSON formatter

func NewTextFormatter

func NewTextFormatter() Formatter

NewTextFormatter creates a text formatter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL