12 lines
219 B
Go
12 lines
219 B
Go
package database
|
|
|
|
import (
|
|
"time"
|
|
// "github.com/moustachioed/dash/backend/database/models"
|
|
)
|
|
|
|
type Database interface {
|
|
WriteJournalEntry(interface{}) error
|
|
GetJournalEntryForDate(time.Time) (interface{}, error)
|
|
}
|