Versions in this module Expand all Collapse all v0 v0.1.0 Jul 6, 2020 Changes in this version + func BasicTeamScoreLess(teams []TeamScore) func(i, j int) bool + func BigGameToHTML(g models.Game, scored bool) ([]byte, error) + func FlipTies(place int) int + func GameToHTML(g models.Game, scored bool) ([]byte, error) + func GenerateTournamentHTML(t models.Tournament) ([]byte, error) + func IsWinner(t models.Team, g models.Game, advance uint32) bool + func RandomizeTeams(teams []models.Team) + type Bracket struct + Advance uint32 + FinalWinner bool + Name string + Rounds [][]models.Game + Scored bool + func (b Bracket) FancyHTML() ([]byte, error) + type CompetitionOverError error + type Pivot struct + Place int + Span int + type Table struct + Gamesize int + Name string + RowWidth []int + Rows [][]models.Team + func (t *Table) ToHTML() ([]byte, error) + type TeamScore struct + Score int + Team models.Team