1
0

Added DeleteCategory() to Mindflow interface.

This commit is contained in:
Alexander Andreev 2023-05-22 23:06:14 +04:00
parent 4e82fbddc1
commit 1304399232
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -43,6 +43,7 @@ type Mindflow interface {
Categories() ([]Category, error) Categories() ([]Category, error)
NewCategory(name string) (int64, error) NewCategory(name string) (int64, error)
GetCategoryByID(id int64) (string, error) GetCategoryByID(id int64) (string, error)
DeleteCategory(id int64) error
DeleteUnusedCategories() error DeleteUnusedCategories() error
Close() error Close() error
} }