Add Plan page with day planner

This commit is contained in:
Martin Pander
2022-11-26 18:41:39 +01:00
parent d9b92ab4e9
commit 32346e0aa9
48 changed files with 2400 additions and 148 deletions

View File

@ -0,0 +1,19 @@
package service
import (
"time"
)
type DataStore interface {
WriteJournalEntry(interface{}) error
GetJournalEntryForDate(time.Time) (interface{}, error)
WritePlanDay(interface{}) error
GetPlanDayForDate(time.Time) (interface{}, error)
WritePlanWeek(interface{}) error
GetPlanWeekForDate(time.Time) (interface{}, error)
WritePlanMonth(interface{}) error
GetPlanMonthForDate(time.Time) (interface{}, error)
}