Versions in this module Expand all Collapse all v1 v1.1.0 Sep 2, 2015 Changes in this version type Tracker + func (t *Tracker) ToJSON() error v1.0.0 Aug 31, 2015 Changes in this version + var Now = time.Now() + type Day struct + Pauses []Pause + Start time.Time + Tasks []Task + func (d *Day) Duration() time.Duration + func (d *Day) Pause() error + func (d *Day) Resume() error + func (d *Day) SameDay() bool + func (d *Day) Status() string + func (d *Day) Task(desc string) error + type Days []Day + func (slice Days) Len() int + func (slice Days) Less(a, b int) bool + func (slice Days) Swap(a, b int) + type Pause struct + End time.Time + Start time.Time + type Task struct + Description string + End time.Time + type Tracker struct + Days map[string]Day + Name string + func New(filename string) (*Tracker, error) + func (t *Tracker) NewDay() (Day, error) + func (t *Tracker) Save() error + func (t *Tracker) SaveDay(d Day) + func (t *Tracker) Today() (Day, error)