aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-28 19:06:11 +0900
committernsfisis <nsfisis@gmail.com>2024-07-28 19:06:11 +0900
commit0ecb9872b0e0e421d498f0afb4a8f603cba50b39 (patch)
tree3b5f08074eba8f02bf49f06a42e3177edb0828de /backend
parentbb1198f01b97ed35531fb2730311832c10249099 (diff)
downloadiosdc-japan-2024-albatross-0ecb9872b0e0e421d498f0afb4a8f603cba50b39.tar.gz
iosdc-japan-2024-albatross-0ecb9872b0e0e421d498f0afb4a8f603cba50b39.tar.zst
iosdc-japan-2024-albatross-0ecb9872b0e0e421d498f0afb4a8f603cba50b39.zip
chore(backend): rename root module
Diffstat (limited to 'backend')
-rw-r--r--backend/api/handlers.go4
-rw-r--r--backend/auth/auth.go2
-rw-r--r--backend/auth/jwt.go2
-rw-r--r--backend/go.mod2
-rw-r--r--backend/main.go4
5 files changed, 7 insertions, 7 deletions
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 {