feat: fix lint and new nill functions

This commit is contained in:
d3m0k1d
2026-02-18 13:30:16 +03:00
parent 81446e56f5
commit 5a375d67c7
2 changed files with 21 additions and 0 deletions

View File

@@ -25,4 +25,8 @@ type AuthRepository interface {
type CommentRepository interface {
CreateComment(ctx context.Context, comment *storage.Comment) error
GetAllComments(ctx context.Context) ([]storage.Comment, error)
GetCommentsOfPost(ctx context.Context, id int) ([]storage.Comment, error)
DeleteComment(ctx context.Context, id int) error
UpdateComment(ctx context.Context, id int, comment *storage.Comment) error
}