score

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputFormats

func OutputFormats() []app.OutputFormat

func WriteOutput

func WriteOutput(w io.Writer, format app.OutputFormat, result Result) error

Types

type Output

type Output interface {
	Write(io.Writer, Result) error
}

type OutputFunc

type OutputFunc func(io.Writer, Result) error

func (OutputFunc) Write

func (f OutputFunc) Write(w io.Writer, result Result) error

type Result

type Result struct {
	QSOs   int `yaml:"qsos" json:"qsos"`
	Points int `yaml:"points" json:"points"`
	Multis int `yaml:"multis" json:"multis"`
	Total  int `yaml:"total" json:"total"`
}

func Evaluate

func Evaluate(logfile app.Logfile, definition *conval.Definition, setup *conval.Setup) (Result, error)

Jump to

Keyboard shortcuts

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