Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type TableWithPositionHighlight ¶
type TableWithPositionHighlight struct { Header []string Message string Rows [][]string TeamLeaguePosition int Output io.Writer }
func NewTableWithPositionHighlight ¶
func NewTableWithPositionHighlight(header []string, message string, rows [][]string, teamLeaguePosition int) *TableWithPositionHighlight
NewTableWithPositionHighlight returns a table with a position highlighted per the teamLeaguePosition int. Output is set to a default of os.Stdout
func (*TableWithPositionHighlight) Render ¶
func (t *TableWithPositionHighlight) Render()
Render prints a table with a position highlight to the Output
Click to show internal directories.
Click to hide internal directories.