Documentation
¶
Index ¶
- Variables
- func NewScoreboard(date time.Time) tea.Model
- type GameModel
- type Model
- func (m Model) Init() tea.Cmd
- func (m *Model) InitPlayByPlayView(activeGameID string, activeGame nba.BoxScoreSummary) (*play.PlayByPlayModel, tea.Cmd)
- func (m Model) InitScoreboard() tea.Msg
- func (m Model) ScoreboardInitFilter()
- func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
- type SelectMsg
- type StandingsModel
Constants ¶
This section is empty.
Variables ¶
View Source
var TOGGLE_MAP = map[string]bool{}
Functions ¶
Types ¶
type GameModel ¶
type GameModel struct { Table table.Model ActiveGameID string ActiveGame nba.BoxScoreSummary PreviousModel base.BaseModel Help help.Model Width, Height, Margin int }
func InitGameView ¶
type Model ¶
type Model struct { Mode mode List list.Model CurrentDate time.Time Quitting bool Gameview bool // contains filtered or unexported fields }
func (*Model) InitPlayByPlayView ¶
func (m *Model) InitPlayByPlayView(activeGameID string, activeGame nba.BoxScoreSummary) (*play.PlayByPlayModel, tea.Cmd)
func (Model) InitScoreboard ¶
func (Model) ScoreboardInitFilter ¶
func (m Model) ScoreboardInitFilter()
type StandingsModel ¶
type StandingsModel struct {
// contains filtered or unexported fields
}
func InitStandingsView ¶
func InitStandingsView() *StandingsModel
func (StandingsModel) Init ¶
func (m StandingsModel) Init() tea.Cmd
func (StandingsModel) View ¶
func (m StandingsModel) View() string
Click to show internal directories.
Click to hide internal directories.