reporter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	Report(violations []katas.Violation) error
}

Reporter defines the interface for reporting violations.

type TextReporter

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

TextReporter is a simple reporter that writes plain text to an io.Writer.

func NewTextReporter

func NewTextReporter(writer io.Writer) *TextReporter

NewTextReporter creates a new TextReporter.

func (*TextReporter) Report

func (r *TextReporter) Report(violations []katas.Violation) error

Report prints the violations to the writer.

Jump to

Keyboard shortcuts

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