diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:39:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:39:12 +0900 |
| commit | d3107cdf9bafbebc4a9cdd6ab91869f8086b3246 (patch) | |
| tree | e3b2acc975ce48d87d88e7da79ca81cc8fda685e | |
| parent | a4685927a1f7fe8374a567ee74cc62aad639f4c3 (diff) | |
| download | phperkaigi-2025-albatross-d3107cdf9bafbebc4a9cdd6ab91869f8086b3246.tar.gz phperkaigi-2025-albatross-d3107cdf9bafbebc4a9cdd6ab91869f8086b3246.tar.zst phperkaigi-2025-albatross-d3107cdf9bafbebc4a9cdd6ab91869f8086b3246.zip | |
change go module name
| -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 { |
