Documentation ¶
Index ¶
- Constants
- func ByEntryDate(entries []Entry) func(i, j int) bool
- func ByTimestamp(entriesFound []Entry) func(i, j int) bool
- type Entry
- type Index
- type Journal
- func (j *Journal) AddEntry(entryDate date.Date, text string) error
- func (j *Journal) DeleteEntry(entryDate date.Date) error
- func (j *Journal) GetClosestEntry(entryDate date.Date) (Entry, error)
- func (j *Journal) GetEntries(timeRange string) ([]Entry, error)
- func (j *Journal) GetEntry(entryDate date.Date) (string, error)
- func (j *Journal) SearchFor(query string) ([]Entry, error)
- type Rank
- type TabularData
Constants ¶
View Source
const TimestampFormat = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func ByEntryDate ¶
func ByTimestamp ¶
Types ¶
type Journal ¶
type Journal struct { Data TabularData Index Index }
func (*Journal) GetClosestEntry ¶
Click to show internal directories.
Click to hide internal directories.