diff --git a/pkg/mindflow/mindflow.go b/pkg/mindflow/mindflow.go index 5e2511c..0334b04 100644 --- a/pkg/mindflow/mindflow.go +++ b/pkg/mindflow/mindflow.go @@ -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) }