mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
[hw-8] add: repo layer
This commit is contained in:
19
comments/infra/repository/sqlc/querier.go
Normal file
19
comments/infra/repository/sqlc/querier.go
Normal 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)
|
||||
Reference in New Issue
Block a user