1
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

View File

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