mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
feat: post list and edition redirect
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
type IPostRepository interface {
|
||||
Get(id uint32) (post.Post, error)
|
||||
GetByName(name string) (post.Post, error)
|
||||
GetAll() []post.Post
|
||||
Create(post post.Post) (post.Post, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user