Added NewCategory and GetCategoryByID methods in Mindflow interface.
This commit is contained in:
parent
5ef41d5961
commit
b4ba80e02b
@ -5,4 +5,6 @@ type Mindflow interface {
|
||||
Edit(post *Post) error
|
||||
Delete(id int64) error
|
||||
GetAll() ([]Post, error)
|
||||
NewCategory(name string) (int64, error)
|
||||
GetCategoryByID(id int64) (string, error)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user