Documentation ¶
Index ¶
- func BoardToFile(filename string, b *Board) error
- func EndOfBilling(t time.Time) time.Time
- func EndOfDay(t time.Time) time.Time
- func EndOfWeek(t time.Time) time.Time
- func StartOfBilling(t time.Time) time.Time
- func StartOfDay(t time.Time) time.Time
- func StartOfWeek(t time.Time) time.Time
- type Board
- type List
- type Task
- type TaskTime
- type User
- type Work
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoardToFile ¶
func StartOfBilling ¶
StartOfBilling returns the time of the start of billing for a given time.
Types ¶
type Board ¶
type Board struct {
Lists []*List
}
func BoardFromFile ¶
func (*Board) AppendNewList ¶
func (b *Board) AppendNewList()
func (*Board) AppendNewTask ¶
func (*Board) MoveTaskDown ¶
func (*Board) MoveTaskUp ¶
type Task ¶
func (*Task) AddTaskTime ¶
type User ¶
type User struct {
CurrentWorks []*Work
}
func (*User) ExcludeWork ¶
func (*User) ToggleWorkOnTask ¶
ToggleWorkOnTask either resumes (or starts) working on the given task or pauses it (if already working).
func (*User) WorkForTask ¶
type Work ¶
type Work struct { Task *Task // contains filtered or unexported fields }
func (*Work) AdjustWorkDuration ¶
func (*Work) CurrentDuration ¶
func (*Work) ResumeWork ¶
func (w *Work) ResumeWork()
Click to show internal directories.
Click to hide internal directories.