app

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 PrepareDefinition

func PrepareDefinition(name string) (*conval.Definition, error)

func PrepareSetup

func PrepareSetup(filename string, prefixes conval.PrefixDatabase) (*conval.Setup, error)

Types

type CabrilloLogfile

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

func ReadCabrilloLogFromFile

func ReadCabrilloLogFromFile(filename string, prefixes conval.PrefixDatabase) (*CabrilloLogfile, error)

func (CabrilloLogfile) Identifier

func (l CabrilloLogfile) Identifier() conval.ContestIdentifier

func (CabrilloLogfile) QSOs

func (l CabrilloLogfile) QSOs(definition *conval.Definition, exchangeFields func(callsign.Callsign) []conval.ExchangeField) []conval.QSO

func (CabrilloLogfile) Setup

func (l CabrilloLogfile) Setup() *conval.Setup

type Logfile

type Logfile interface {
	Identifier() conval.ContestIdentifier
	Setup() *conval.Setup
	QSOs(definition *conval.Definition, exchangeFields func(callsign.Callsign) []conval.ExchangeField) []conval.QSO
}

type OutputFormat

type OutputFormat string
const (
	TextOutput OutputFormat = "text"
	YamlOutput OutputFormat = "yaml"
	JsonOutput OutputFormat = "json"
	CsvOutput  OutputFormat = "csv"
)

func ParseOutputFormat

func ParseOutputFormat(s string) OutputFormat

Jump to

Keyboard shortcuts

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