format

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 5 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(results []error) (string, error)
}

type JSONFormatter

type JSONFormatter struct{}

func NewJSONFormatter

func NewJSONFormatter() *JSONFormatter

func (*JSONFormatter) Format

func (f *JSONFormatter) Format(results []error) (string, error)

type TextFormatter

type TextFormatter struct{}

func NewTextFormatter

func NewTextFormatter() *TextFormatter

func (*TextFormatter) Format

func (f *TextFormatter) Format(results []error) (string, error)

Jump to

Keyboard shortcuts

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