2023-05-10 03:19:02 +04:00
|
|
|
package mindflow
|
|
|
|
|
|
|
|
type Mindflow interface {
|
2023-05-14 03:36:13 +04:00
|
|
|
New(post *Post) error
|
|
|
|
Edit(post *Post) error
|
2023-05-10 03:19:02 +04:00
|
|
|
Delete(id int64) error
|
2023-05-14 03:36:13 +04:00
|
|
|
GetAll() ([]Post, error)
|
2023-05-10 03:19:02 +04:00
|
|
|
}
|