1
0
Fork 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
1 changed files with 1 additions and 0 deletions

View File

@ -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
}