Help us shape the future of Go! Take the 2026 Go Developer Survey

reporter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleReporter

type ConsoleReporter struct {
	// contains filtered or unexported fields
}

ConsoleReporter implements Reporter for console output

func NewConsoleReporter

func NewConsoleReporter(cfg *config.OutputConfig) *ConsoleReporter

NewConsoleReporter creates a new ConsoleReporter

func (*ConsoleReporter) Report

func (cr *ConsoleReporter) Report(result *analyzer.AnalysisResult) error

Report outputs the analysis results to the console

type Reporter

type Reporter interface {
	// Report formats and outputs the analysis results
	Report(result *analyzer.AnalysisResult) error
}

Reporter defines the interface for reporting analysis results

func NewReporter

func NewReporter(cfg *config.OutputConfig) (Reporter, error)

NewReporter creates a new Reporter based on the output format

Jump to

Keyboard shortcuts

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