Files
dash/backend/database/database.go
2022-11-07 19:19:23 +01:00

13 lines
223 B
Go

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