28 lines
492 B
Go
28 lines
492 B
Go
package database
|
|
|
|
import (
|
|
"git.timovolkmann.de/gyrogpsc/core"
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// Must implement Repo
|
|
type repository struct {
|
|
}
|
|
|
|
func NewRepository(c *core.Configuration) *repository {
|
|
return &repository{}
|
|
}
|
|
|
|
func (r *repository) Save(tracking core.Tracking) error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (r *repository) LoadAll() ([]core.TrackingMetadata, error) {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (r *repository) Load(id uuid.UUID) (core.Tracking, error) {
|
|
panic("implement me")
|
|
}
|
|
|