Files
dash/backend/mapping/mapper.go
2022-11-08 09:22:14 +01:00

16 lines
354 B
Go

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{})
StringToDate(string) (time.Time, error)
DateToString(time.Time) string
}