From 0ecb9872b0e0e421d498f0afb4a8f603cba50b39 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jul 2024 19:06:11 +0900 Subject: chore(backend): rename root module --- backend/api/handlers.go | 4 ++-- backend/auth/auth.go | 2 +- backend/auth/jwt.go | 2 +- backend/go.mod | 2 +- backend/main.go | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'backend') diff --git a/backend/api/handlers.go b/backend/api/handlers.go index 43ff8c6..54a3fc4 100644 --- a/backend/api/handlers.go +++ b/backend/api/handlers.go @@ -7,8 +7,8 @@ import ( "github.com/labstack/echo/v4" - "github.com/nsfisis/iosdc-2024-albatross-backend/auth" - "github.com/nsfisis/iosdc-2024-albatross-backend/db" + "github.com/nsfisis/iosdc-2024-albatross/backend/auth" + "github.com/nsfisis/iosdc-2024-albatross/backend/db" ) var _ StrictServerInterface = (*ApiHandler)(nil) diff --git a/backend/auth/auth.go b/backend/auth/auth.go index 40e54a6..6b358c3 100644 --- a/backend/auth/auth.go +++ b/backend/auth/auth.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/nsfisis/iosdc-2024-albatross-backend/db" + "github.com/nsfisis/iosdc-2024-albatross/backend/db" ) func Login(ctx context.Context, queries *db.Queries, username, password string) (int, error) { diff --git a/backend/auth/jwt.go b/backend/auth/jwt.go index c750531..c15fc01 100644 --- a/backend/auth/jwt.go +++ b/backend/auth/jwt.go @@ -6,7 +6,7 @@ import ( "github.com/golang-jwt/jwt/v5" - "github.com/nsfisis/iosdc-2024-albatross-backend/db" + "github.com/nsfisis/iosdc-2024-albatross/backend/db" ) type JWTClaims struct { diff --git a/backend/go.mod b/backend/go.mod index 7e47d35..8cb206d 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module github.com/nsfisis/iosdc-2024-albatross-backend +module github.com/nsfisis/iosdc-2024-albatross/backend go 1.22.3 diff --git a/backend/main.go b/backend/main.go index 7f87bb4..708c5f2 100644 --- a/backend/main.go +++ b/backend/main.go @@ -13,8 +13,8 @@ import ( "github.com/labstack/echo/v4/middleware" oapimiddleware "github.com/oapi-codegen/echo-middleware" - "github.com/nsfisis/iosdc-2024-albatross-backend/api" - "github.com/nsfisis/iosdc-2024-albatross-backend/db" + "github.com/nsfisis/iosdc-2024-albatross/backend/api" + "github.com/nsfisis/iosdc-2024-albatross/backend/db" ) type Config struct { -- cgit v1.2.3-70-g09d2