From 13043992326c79e2187ac69635d1c82677499f43 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 22 May 2023 23:06:14 +0400 Subject: [PATCH] Added DeleteCategory() to Mindflow interface. --- pkg/mindflow/mindflow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mindflow/mindflow.go b/pkg/mindflow/mindflow.go index 5978438..0f2ab03 100644 --- a/pkg/mindflow/mindflow.go +++ b/pkg/mindflow/mindflow.go @@ -43,6 +43,7 @@ type Mindflow interface { Categories() ([]Category, error) NewCategory(name string) (int64, error) GetCategoryByID(id int64) (string, error) + DeleteCategory(id int64) error DeleteUnusedCategories() error Close() error }