components

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Credit to @dylantientcheu for this implementation originally from nbacli https://github.com/dylantientcheu/nbacli/blob/master/ui/gameboard/scoretext/scoretext.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBatterStatsTable

func BuildBatterStatsTable(players []mlb.BoxscorePlayer, initialFocus bool) table.Model

func BuildLinescoreTable

func BuildLinescoreTable(awayTeamName string, homeTeamName string, linescore mlb.ScheduleLinescore) table.Model

func BuildPitcherStatsTable

func BuildPitcherStatsTable(players []mlb.BoxscorePlayer, initialFocus bool) table.Model

func RenderScoreText

func RenderScoreText(scoreAway int, scoreHome int, awayTeamName string, homeTeamName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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