project

package
v0.0.0-...-c284b2d Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

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

func New

func New(taskStrings []string) *Project

func (*Project) NTasks

func (p *Project) NTasks() int

func (*Project) New

func (p *Project) New() *Task

func (*Project) PriorityUp

func (p *Project) PriorityUp(idx int) int

func (*Project) Render

func (p *Project) Render(renderer Renderer)

func (*Project) RunCompaction

func (p *Project) RunCompaction() int

func (*Project) Task

func (p *Project) Task(i int) *Task

func (*Project) TaskStrings

func (p *Project) TaskStrings() []string

type Renderer

type Renderer interface {
	RenderLabel(i, x, y, width int, msg string)
	RenderArm(x, y, len int)
}

type Task

type Task struct {
	Title string
	// contains filtered or unexported fields
}

func (*Task) Clear

func (t *Task) Clear()

func (*Task) IsEmpty

func (t *Task) IsEmpty() bool

func (*Task) Len

func (t *Task) Len() int

Jump to

Keyboard shortcuts

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