Versions in this module Expand all Collapse all v0 v0.1.0 Jan 2, 2021 Changes in this version + func Load() (habitMap map[string]*Habit) + func Save(habitMap map[string]*Habit) + type Habit struct + Name string + Occurrences []time.Time + ShortName string + Tag string + func New(name, shortName, tag string) *Habit + func (h *Habit) DaysSinceLastTick() int + func (h *Habit) Tick() + type HabitList []*Habit + func (h HabitList) Len() int + func (h HabitList) Less(i, j int) bool + func (h HabitList) Swap(i, j int) + type HabitMap map[string]*Habit