Skip to content

Commit

Permalink
Fix store return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Delavalom authored Oct 3, 2023
1 parent 85f6249 commit fc2bf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/sqlc/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type SQLStore struct {
}

// NewStore creates a new store
func NewStore(connPool *pgxpool.Pool) Store {
func NewStore(connPool *pgxpool.Pool) *SQLStore {
return &SQLStore{
connPool: connPool,
Queries: New(connPool),
Expand Down

0 comments on commit fc2bf34

Please sign in to comment.