Add Plan page with day planner
This commit is contained in:
19
backend/service/dataStore.go
Normal file
19
backend/service/dataStore.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user