Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GranularityIds = map[Granularity][]string{ Day: {"day"}, Week: {"week"}, Month: {"month"}, Quarter: {"quarter"}, Year: {"year"}, }
View Source
var Logger = Log{ Enabled: false, }
Functions ¶
Types ¶
type Granularity ¶ added in v0.5.2
const ( Day Granularity = iota Week Month Quarter Year )
type Journal ¶ added in v0.2.0
type Journal struct {
Id string
Vault string
Path string `mapstructure:"path"`
Extension string `mapstructure:"extension"`
}
func (*Journal) GetEntryName ¶ added in v0.6.0
func (journal *Journal) GetEntryName(granularity Granularity, now time.Time) string
func (*Journal) GetEntryPath ¶ added in v0.6.0
func (journal *Journal) GetEntryPath(granularity Granularity, now time.Time) string
type Mission ¶
type Mission struct {
Settings Settings
}
func DefaultInstance ¶
func DefaultInstance() Mission
func NewInstance ¶
func (*Mission) GetTasksFromJournal ¶ added in v0.5.0
func (*Mission) GetTasksFromPath ¶ added in v0.5.0
type Settings ¶
type Settings struct {
Vault Vault
Journals map[string]Journal
Sketchybar Sketchybar
Focus Focus
}
func LoadSettings ¶
func LoadSettings() Settings
type Sketchybar ¶
Click to show internal directories.
Click to hide internal directories.