Files
dash/backend/database/database.go
2022-11-07 15:33:08 +01:00

13 lines
236 B
Go

package database
import (
"time"
"github.com/moustachioed/dash/backend/database/models"
)
type Database interface {
WriteJournalEntry(dbmodel models.Journal) error
GetJournalEntryForDate(date time.Time) (models.Journal, error)
}