feat: full redy blog and admin panel
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
type PostRepository interface {
|
||||
GetAll(ctx context.Context) ([]storage.PostReq, error)
|
||||
GetAllAdmin(ctx context.Context) ([]storage.PostReq, error)
|
||||
GetByID(ctx context.Context, id int) (storage.PostReq, error)
|
||||
GetLastID(ctx context.Context) (int, error)
|
||||
IsExist(ctx context.Context, id int) bool
|
||||
|
||||
Reference in New Issue
Block a user