Changed method signatures for Mindflow interface.
This commit is contained in:
parent
b56de7f5ca
commit
0903f2c2c6
@ -1,7 +1,8 @@
|
|||||||
package mindflow
|
package mindflow
|
||||||
|
|
||||||
type Mindflow interface {
|
type Mindflow interface {
|
||||||
New(post Post) error
|
New(post *Post) error
|
||||||
Edit(post Post) error
|
Edit(post *Post) error
|
||||||
Delete(id int64) error
|
Delete(id int64) error
|
||||||
|
GetAll() ([]Post, error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user