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