From fc2bf340d48f0a3cef02df722902f0ba873b7b3d Mon Sep 17 00:00:00 2001 From: Luis Angel Arvelo Date: Tue, 3 Oct 2023 03:53:40 +0000 Subject: [PATCH] Fix store return type --- db/sqlc/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/sqlc/store.go b/db/sqlc/store.go index b693266..d8f1363 100644 --- a/db/sqlc/store.go +++ b/db/sqlc/store.go @@ -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),