multis

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: 7 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 {
	MultiProperties []conval.Property    `yaml:"multi_properties,flow" json:"multi_properties"`
	Bands           []conval.ContestBand `yaml:"bands,flow" json:"bands"`
	Rows            []Row                `yaml:"rows" json:"rows"`
}

func Evaluate

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

type Row

type Row struct {
	Property conval.Property      `yaml:"property" json:"property"`
	Multi    string               `yaml:"multi" json:"multi"`
	Bands    []conval.ContestBand `yaml:"bands,flow" json:"bands"`
}

Jump to

Keyboard shortcuts

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