diff --git a/pkg/mindflow/mindflow.go b/pkg/mindflow/mindflow.go index 9f9ec75..5e2511c 100644 --- a/pkg/mindflow/mindflow.go +++ b/pkg/mindflow/mindflow.go @@ -1,7 +1,8 @@ package mindflow type Mindflow interface { - New(post Post) error - Edit(post Post) error + New(post *Post) error + Edit(post *Post) error Delete(id int64) error + GetAll() ([]Post, error) }