1
0
dwelling-home/pkg/mindflow/mindflow.go

12 lines
242 B
Go
Raw Normal View History

2023-05-10 03:19:02 +04:00
package mindflow
type Mindflow interface {
New(post *Post) error
Edit(post *Post) error
2023-05-10 03:19:02 +04:00
Delete(id int64) error
GetAll() ([]Post, error)
NewCategory(name string) (int64, error)
GetCategoryByID(id int64) (string, error)
Close() error
2023-05-10 03:19:02 +04:00
}