Add Plan page with day planner
This commit is contained in:
@ -2,13 +2,20 @@ package mapping
|
||||
|
||||
import (
|
||||
"time"
|
||||
// api "github.com/moustachioed/dash/backend/dashapi"
|
||||
// db "github.com/moustachioed/dash/backend/database/models"
|
||||
)
|
||||
|
||||
type Mapper interface {
|
||||
JournalApiToDb(api interface{}) (db interface{})
|
||||
JournalDbToApi(db interface{}) (api interface{})
|
||||
JournalApiToDs(api interface{}) (db interface{})
|
||||
JournalDsToApi(db interface{}) (api interface{})
|
||||
|
||||
PlanDayApiToDs(api interface{}) (db interface{})
|
||||
PlanDayDsToApi(db interface{}) (api interface{})
|
||||
|
||||
PlanWeekApiToDs(api interface{}) (db interface{})
|
||||
PlanWeekDsToApi(db interface{}) (api interface{})
|
||||
|
||||
PlanMonthApiToDs(api interface{}) (db interface{})
|
||||
PlanMonthDsToApi(db interface{}) (api interface{})
|
||||
|
||||
StringToDate(string) (time.Time, error)
|
||||
DateToString(time.Time) string
|
||||
|
||||
Reference in New Issue
Block a user