Documentation ¶
Index ¶
- Constants
- func FillSpace(text string, limit int) string
- func ReadCSV(r io.Reader) (*TodoList, *TodoList, error)
- func SaveCSV(todos []Todo, isArchived bool, w io.Writer)
- func SaveConf(w io.Writer, conf Config) error
- type Config
- type Data
- type Draw
- func (d *Draw) DoEnter()
- func (d *Draw) DoKeyCtrlA()
- func (d *Draw) DoKeyCtrlL()
- func (d *Draw) DoKeyCtrlR()
- func (d *Draw) DoKeyCtrlV()
- func (d *Draw) DoKeyCtrlW()
- func (d *Draw) DoKeyCtrlX()
- func (d *Draw) DoKeyEsc()
- func (d *Draw) DoKeyTab()
- func (d *Draw) Draw()
- func (d *Draw) GetLabels() []string
- func (d *Draw) SaveData()
- func (d *Draw) SetLister(tab Tab)
- type Drawer
- type LabelList
- func (l *LabelList) Add(label string) int
- func (l *LabelList) ChangeLabel(i int, name string)
- func (l *LabelList) Contains(label string) (int, bool)
- func (l *LabelList) Exchange(i, j int)
- func (l *LabelList) GetList(width int) []string
- func (l *LabelList) GetListLength() int
- func (l *LabelList) GetPresentName(i int) string
- func (l *LabelList) IsInAryRange(i int) bool
- func (l *LabelList) Remove(i int) interface{}
- func (l *LabelList) Rename(i int, name string)
- type Tab
- type Target
- type Todo
- type TodoList
- func (tl *TodoList) Add(title string) int
- func (tl *TodoList) ChangeLabel(i int, name string)
- func (tl *TodoList) Exchange(i, j int)
- func (tl *TodoList) GetList(width int) []string
- func (tl *TodoList) GetListLength() int
- func (tl *TodoList) GetPresentName(i int) string
- func (tl *TodoList) IsInAryRange(i int) bool
- func (tl *TodoList) Remove(i int) interface{}
- func (tl *TodoList) Rename(i int, title string)
Constants ¶
View Source
const (
LABEL_TEXT_WIDTH = 16
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Draw ¶
type Draw struct { Drawer // contains filtered or unexported fields }
func (*Draw) DoKeyCtrlA ¶
func (d *Draw) DoKeyCtrlA()
func (*Draw) DoKeyCtrlL ¶
func (d *Draw) DoKeyCtrlL()
func (*Draw) DoKeyCtrlR ¶
func (d *Draw) DoKeyCtrlR()
func (*Draw) DoKeyCtrlV ¶
func (d *Draw) DoKeyCtrlV()
func (*Draw) DoKeyCtrlW ¶
func (d *Draw) DoKeyCtrlW()
func (*Draw) DoKeyCtrlX ¶
func (d *Draw) DoKeyCtrlX()
type LabelList ¶
type LabelList []string
func (*LabelList) ChangeLabel ¶
func (*LabelList) GetListLength ¶
func (*LabelList) GetPresentName ¶
func (*LabelList) IsInAryRange ¶
type TodoList ¶
type TodoList []Todo
func (*TodoList) ChangeLabel ¶
func (*TodoList) GetListLength ¶
func (*TodoList) GetPresentName ¶
func (*TodoList) IsInAryRange ¶
Click to show internal directories.
Click to hide internal directories.