Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRandSource ¶
func WithRandSource(r *rand.Rand) func(*SingleModel)
Types ¶
type LeaderboardModel ¶
type LeaderboardModel struct {
// contains filtered or unexported fields
}
func NewLeaderboardModel ¶
func NewLeaderboardModel(in *tui.LeaderboardInput, db *sql.DB) (*LeaderboardModel, error)
func (*LeaderboardModel) Init ¶
func (m *LeaderboardModel) Init() tea.Cmd
func (*LeaderboardModel) View ¶
func (m *LeaderboardModel) View() string
type MenuModel ¶
type MenuModel struct {
// contains filtered or unexported fields
}
func NewMenuModel ¶
type SingleModel ¶
type SingleModel struct {
// contains filtered or unexported fields
}
func NewSingleModel ¶
func NewSingleModel( in *tui.SingleInput, cfg *config.Config, opts ...func(*SingleModel), ) (*SingleModel, error)
func (*SingleModel) Init ¶
func (m *SingleModel) Init() tea.Cmd
func (*SingleModel) View ¶
func (m *SingleModel) View() string
Click to show internal directories.
Click to hide internal directories.