module

package
v0.0.0-...-6a88689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToDo       = "To Do"
	InProgress = "In Progress"
	Done       = "Done"
)

Variables

This section is empty.

Functions

func GetAvailableModules

func GetAvailableModules() []string

Types

type Kanban

type Kanban struct {
	// contains filtered or unexported fields
}

func (*Kanban) Init

func (m *Kanban) Init() tea.Cmd

func (*Kanban) Update

func (m *Kanban) Update(msg tea.Msg) (Module, tea.Cmd)

func (*Kanban) View

func (m *Kanban) View() string

type LinkSaver

type LinkSaver struct {
	// contains filtered or unexported fields
}

func (*LinkSaver) Init

func (m *LinkSaver) Init() tea.Cmd

func (*LinkSaver) Update

func (m *LinkSaver) Update(msg tea.Msg) (Module, tea.Cmd)

func (*LinkSaver) View

func (m *LinkSaver) View() string

type Module

type Module interface {
	Init() tea.Cmd
	Update(msg tea.Msg) (Module, tea.Cmd)
	View() string
}

Module defines the interface for all modules.

func NewKanban

func NewKanban(db *sql.DB, projectID string) Module

func NewLinkSaver

func NewLinkSaver(db *sql.DB, projectID string) Module

func NewPlaceholder

func NewPlaceholder() Module

func NewTwitter

func NewTwitter(db *sql.DB, projectID string) Module

type Placeholder

type Placeholder struct {
	// contains filtered or unexported fields
}

func (*Placeholder) Init

func (m *Placeholder) Init() tea.Cmd

func (*Placeholder) Update

func (m *Placeholder) Update(msg tea.Msg) (Module, tea.Cmd)

func (*Placeholder) View

func (m *Placeholder) View() string

type Twitter

type Twitter struct {
	// contains filtered or unexported fields
}

func (*Twitter) Init

func (m *Twitter) Init() tea.Cmd

func (*Twitter) Update

func (m *Twitter) Update(msg tea.Msg) (Module, tea.Cmd)

func (*Twitter) View

func (m *Twitter) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL