Added DeleteCategory() to Mindflow interface.
This commit is contained in:
parent
4e82fbddc1
commit
1304399232
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user