[hw-8] add: repo layer

This commit is contained in:
3ybactuk
2025-07-25 23:04:31 +03:00
committed by 3ybacTuK
parent c1e8934646
commit 6420eaf3d7
25 changed files with 4194 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package sqlc
import (
"context"
)
type Querier interface {
GetCommentByID(ctx context.Context, id int64) (*Comment, error)
InsertComment(ctx context.Context, arg *InsertCommentParams) (*Comment, error)
ListCommentsBySku(ctx context.Context, sku int64) ([]*Comment, error)
ListCommentsByUser(ctx context.Context, userID int64) ([]*Comment, error)
UpdateComment(ctx context.Context, arg *UpdateCommentParams) (*Comment, error)
}
var _ Querier = (*Queries)(nil)