Documentation
¶
Index ¶
- type DiaryEntry
- type Manager
- func (m *Manager) AppendDiary(entry string) (string, error)
- func (m *Manager) AppendDiaryAt(ts time.Time, entry string) (string, error)
- func (m *Manager) Ensure() error
- func (m *Manager) ReadDiary(date string) (string, error)
- func (m *Manager) ReadLongTerm() (string, error)
- func (m *Manager) ReadRecentDiaries(limit int) ([]DiaryEntry, error)
- func (m *Manager) WriteLongTerm(content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiaryEntry ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) AppendDiaryAt ¶
func (*Manager) ReadLongTerm ¶
func (*Manager) ReadRecentDiaries ¶
func (m *Manager) ReadRecentDiaries(limit int) ([]DiaryEntry, error)
func (*Manager) WriteLongTerm ¶
Click to show internal directories.
Click to hide internal directories.