printer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonPrinter added in v0.2.0

type JsonPrinter struct{}

func NewJsonPrinter added in v0.2.0

func NewJsonPrinter() *JsonPrinter

func (*JsonPrinter) Print added in v0.2.0

func (p *JsonPrinter) Print(results []*analyzer.Result, err error)

type JsonPrinterOutput added in v0.2.0

type JsonPrinterOutput struct {
	Completed bool               `json:"completed"`
	Error     *string            `json:"error"`
	Results   []*analyzer.Result `json:"results"`
}

type Printer

type Printer interface {
	Print(results []*analyzer.Result, err error)
}

type TextPrinter

type TextPrinter struct{}

func NewTextPrinter

func NewTextPrinter() *TextPrinter

func (*TextPrinter) Print

func (p *TextPrinter) Print(results []*analyzer.Result, err error)

Jump to

Keyboard shortcuts

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