diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | backend/auth.go | 2 | ||||
| -rw-r--r-- | backend/go.mod | 2 | ||||
| -rw-r--r-- | backend/main.go | 2 |
4 files changed, 7 insertions, 3 deletions
@@ -21,3 +21,7 @@ sqldef-dryrun: .PHONY: sqldef sqldef: docker compose run --no-TTY tools psqldef < ./backend/schema.sql + +.PHONY: sqlc +sqlc: + cd backend; make sqlc diff --git a/backend/auth.go b/backend/auth.go index f27b8c0..7cf0c58 100644 --- a/backend/auth.go +++ b/backend/auth.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "iosdc-code-battle-poc/db" + "github.com/nsfisis/iosdc-2024-albatross-backend/db" ) func authLogin(ctx context.Context, queries *db.Queries, username, password string) (int, error) { diff --git a/backend/go.mod b/backend/go.mod index b03cf2e..fa302e8 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module iosdc-code-battle-poc +module github.com/nsfisis/iosdc-2024-albatross-backend go 1.22.3 diff --git a/backend/main.go b/backend/main.go index 66ab015..f90693a 100644 --- a/backend/main.go +++ b/backend/main.go @@ -12,7 +12,7 @@ import ( "github.com/jackc/pgx/v5" - "iosdc-code-battle-poc/db" + "github.com/nsfisis/iosdc-2024-albatross-backend/db" ) type Config struct { |
