From 42009730b1f4d02908d547c2c59f8e3da3bf2054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Thu, 4 Apr 2019 16:12:10 +0200 Subject: [PATCH] WIP: Added method to get categories that should get created on the server --- internal/pkg/datastore/datastore.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/datastore/datastore.go b/internal/pkg/datastore/datastore.go index b5fbddb..4083111 100644 --- a/internal/pkg/datastore/datastore.go +++ b/internal/pkg/datastore/datastore.go @@ -49,6 +49,7 @@ type CategoryProvider interface { SaveCategory(category CategoryData) error GetCategoryByPiwigoId(id int) (CategoryData, error) GetCategoryByKey(key string) (CategoryData, error) + GetCategoriesToCreate()([]CategoryData, error) } type ImageMetadataProvider interface {