feat:
This commit is contained in:
@@ -24,7 +24,7 @@ type AuthRepository interface {
|
||||
}
|
||||
|
||||
type CommentRepository interface {
|
||||
CreateComment(ctx context.Context, comment *storage.Comment) error
|
||||
CreateComment(ctx context.Context, comment *storage.CommentCreate) error
|
||||
GetAllComments(ctx context.Context) ([]storage.Comment, error)
|
||||
GetCommentsOfPost(ctx context.Context, id int) ([]storage.Comment, error)
|
||||
DeleteComment(ctx context.Context, id int) error
|
||||
|
||||
Reference in New Issue
Block a user