1
0
Fork 0

Changed method signatures for Mindflow interface.

This commit is contained in:
Alexander Andreev 2023-05-14 03:36:13 +04:00
parent b56de7f5ca
commit 0903f2c2c6
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 3 additions and 2 deletions

View File

@ -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)
}