From 564554ffb01e0e9ed97342502f8a20a9ebd8227b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Sat, 6 Apr 2019 22:47:56 +0200 Subject: [PATCH] added empty interface implementation --- internal/pkg/datastore/datastore.go | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/internal/pkg/datastore/datastore.go b/internal/pkg/datastore/datastore.go index 4083111..bcd60e2 100644 --- a/internal/pkg/datastore/datastore.go +++ b/internal/pkg/datastore/datastore.go @@ -49,7 +49,7 @@ type CategoryProvider interface { SaveCategory(category CategoryData) error GetCategoryByPiwigoId(id int) (CategoryData, error) GetCategoryByKey(key string) (CategoryData, error) - GetCategoriesToCreate()([]CategoryData, error) + GetCategoriesToCreate() ([]CategoryData, error) } type ImageMetadataProvider interface { @@ -70,6 +70,22 @@ func NewLocalDataStore() *LocalDataStore { return &LocalDataStore{} } +func (d *LocalDataStore) SaveCategory(category CategoryData) error { + panic("implement me") +} + +func (d *LocalDataStore) GetCategoryByPiwigoId(id int) (CategoryData, error) { + panic("implement me") +} + +func (d *LocalDataStore) GetCategoryByKey(key string) (CategoryData, error) { + panic("implement me") +} + +func (d *LocalDataStore) GetCategoriesToCreate() ([]CategoryData, error) { + panic("implement me") +} + func (d *LocalDataStore) Initialize(connectionString string) error { if connectionString == "" { return errors.New("connection string could not be empty.")