Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlayerBoard ¶
type PlayerBoard struct { GameID string HomeTeamName string HomeTeamPlayers []*stats.PlayerStats AwayTeamName string AwayTeamPlayers []*stats.PlayerStats }
PlayerBoard player board
func (*PlayerBoard) PlayerBoardPrinter ¶
func (board *PlayerBoard) PlayerBoardPrinter() error
PlayerBoardPrinter player board printer
func (*PlayerBoard) PrintTable ¶
func (board *PlayerBoard) PrintTable() error
PrintTable print table
func (*PlayerBoard) ResultParser ¶
func (board *PlayerBoard) ResultParser(result string) error
ResultParser parse http json data
type SummaryBoard ¶
type SummaryBoard struct { GameID string GameTime string AreanCity string AreanName string HomeTeamCode string AwayTeamCode string HomeTeamScores []int AwayTeamScores []int HomeTeamStats stats.Stats AwayTeamStats stats.Stats }
SummaryBoard summary game borad
func (*SummaryBoard) PrintTable ¶
func (board *SummaryBoard) PrintTable() error
PrintTable print table
func (*SummaryBoard) ResultParser ¶
func (board *SummaryBoard) ResultParser(result string) error
ResultParser parse http json data
func (*SummaryBoard) SummaryBoardPrinter ¶
func (board *SummaryBoard) SummaryBoardPrinter() error
SummaryBoardPrinter summary board printer
Click to show internal directories.
Click to hide internal directories.