Added Mindflow interface.
This commit is contained in:
parent
3878ed33b3
commit
0dcd456e52
7
pkg/mindflow/mindflow.go
Normal file
7
pkg/mindflow/mindflow.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package mindflow
|
||||||
|
|
||||||
|
type Mindflow interface {
|
||||||
|
New(post Post) error
|
||||||
|
Edit(post Post) error
|
||||||
|
Delete(id int64) error
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user