printer

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterNonRelevantResults

func FilterNonRelevantResults(results []judge.Result, tv *judge.Version) ([]judge.Result, error)

func ParsePrinter

func ParsePrinter(choice string) (func(string) (Printer, error), error)

Types

type Printer

type Printer interface {
	Print([]judge.Result) error
	Close() error
}

func NewPrinter

func NewPrinter(choice string, outputFileName string) (Printer, error)

NewPrinter creates new printer of given type that prints to given output file

Jump to

Keyboard shortcuts

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