Implement Journal read/write
This commit is contained in:
@ -7,6 +7,6 @@ import (
|
||||
)
|
||||
|
||||
type Database interface {
|
||||
WriteJournalEntry(dbmodel models.Journal) error
|
||||
GetJournalEntryForDate(date time.Time) (models.Journal, error)
|
||||
WriteJournalEntry(models.Journal) error
|
||||
GetJournalEntryForDate(time.Time) (models.Journal, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user