internal

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_BROWSE = "BROWSE"
	MODE_EDIT   = "EDIT"
	MODE_INSERT = "INSERT"
)

Variables

This section is empty.

Functions

func NewTodo

func NewTodo(description string) todo

func ReadTodos

func ReadTodos() *[]todo

func SaveTodos

func SaveTodos(todos []todo)

Types

type NopeMode

type NopeMode string

type NopeModel

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

func NewNopeModel

func NewNopeModel(todos *[]todo) *NopeModel

func (NopeModel) Init

func (m NopeModel) Init() tea.Cmd

func (NopeModel) Update

func (m NopeModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (NopeModel) View

func (m NopeModel) View() string

Jump to

Keyboard shortcuts

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