feat: post edition save

This commit is contained in:
Florian Sylvain
2024-05-18 12:24:54 +02:00
parent 900ad3e8b8
commit 92c6d06d00
8 changed files with 115 additions and 24 deletions
+2
View File
@@ -9,4 +9,6 @@ type IPostRepository interface {
GetByName(name string) (post.Post, error)
GetAll() []post.Post
Create(post post.Post) (post.Post, error)
UpdateBody(id uint32, body string) error
Delete(id uint32) error
}