Documentation
¶
Overview ¶
Package journal resolves and creates periodic journal log files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoPeriodLogs ¶
AutoPeriodLogs returns paths for period logs (weekly, monthly, yearly) that should be auto-opened because today is the start of that period and the relevant template exists. Returns nil when cfg.AutoJournalPeriods is false.
Types ¶
type Period ¶
type Period int
Period represents the granularity of a journal log.
func ParsePeriod ¶
ParsePeriod converts a user-facing string to a Period.
Click to show internal directories.
Click to hide internal directories.