analyser

package
v0.0.0-...-76d33c4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryStats

type CategoryStats struct {
	Category string
	Stats    []RoundStats
}

type CompetitionStats

type CompetitionStats struct {
	Name  string
	Stats []CategoryStats
}

type Reporter

type Reporter interface {
	ReportCategoryStats(competitionName string, categoryName string, winRecords []WinRecord)
	ReportGenderStats(competitionName string, winRecords []WinRecord)
	Close() error
}

func NewReporter

func NewReporter(mode string, outputPath string) Reporter

type RoundStats

type RoundStats struct {
	Round       string
	Fights      int
	Ippon       int
	Waza        int
	Yuko        int
	Shido       int
	MaxShidos   int
	Hansokumake int
	Unknown     int
	Regular     int
	Golden      int
}

type WinRecord

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

func ParseWinRecords

func ParseWinRecords(contests []judobase.Contest) []WinRecord

Jump to

Keyboard shortcuts

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