Documentation
¶
Index ¶
- type Scoreboard
- func (board *Scoreboard) Descending() bool
- func (board *Scoreboard) Lines() []string
- func (board *Scoreboard) Name() string
- func (board *Scoreboard) Remove(index int)
- func (board *Scoreboard) RemovePadding()
- func (board *Scoreboard) Set(index int, s string)
- func (board *Scoreboard) SetDescending()
- func (board *Scoreboard) Write(p []byte) (n int, err error)
- func (board *Scoreboard) WriteString(s string) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scoreboard ¶
type Scoreboard struct {
// contains filtered or unexported fields
}
func New ¶
func New(name ...any) *Scoreboard
func (*Scoreboard) Descending ¶
func (board *Scoreboard) Descending() bool
func (*Scoreboard) Lines ¶
func (board *Scoreboard) Lines() []string
func (*Scoreboard) Name ¶
func (board *Scoreboard) Name() string
func (*Scoreboard) Remove ¶
func (board *Scoreboard) Remove(index int)
func (*Scoreboard) RemovePadding ¶
func (board *Scoreboard) RemovePadding()
func (*Scoreboard) Set ¶
func (board *Scoreboard) Set(index int, s string)
func (*Scoreboard) SetDescending ¶
func (board *Scoreboard) SetDescending()
func (*Scoreboard) WriteString ¶
func (board *Scoreboard) WriteString(s string) (n int, err error)
Click to show internal directories.
Click to hide internal directories.