aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-31 22:27:28 +0900
committernsfisis <nsfisis@gmail.com>2024-07-31 22:27:28 +0900
commitabb8a31a12ba49d0d7faf5fdf2f5b790accfda92 (patch)
treeeb52d14097c04a352759881da90d1ec9245777f9 /backend
parent4aff0feca72da0175dcecb44aca9b3e30c861bc5 (diff)
downloadiosdc-japan-2024-albatross-abb8a31a12ba49d0d7faf5fdf2f5b790accfda92.tar.gz
iosdc-japan-2024-albatross-abb8a31a12ba49d0d7faf5fdf2f5b790accfda92.tar.zst
iosdc-japan-2024-albatross-abb8a31a12ba49d0d7faf5fdf2f5b790accfda92.zip
feat: "iOSDC 2024" to "iOSDC Japan 2024"
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/game/http.go2
-rw-r--r--backend/game/hub.go4
-rw-r--r--backend/game/message.go2
-rw-r--r--backend/game/models.go2
-rw-r--r--backend/go.mod2
-rw-r--r--backend/main.go6
9 files changed, 13 insertions, 13 deletions
diff --git a/backend/api/handlers.go b/backend/api/handlers.go
index 558949b..cc16972 100644
--- a/backend/api/handlers.go
+++ b/backend/api/handlers.go
@@ -11,8 +11,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"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-japan-2024-albatross/backend/auth"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/db"
)
var _ StrictServerInterface = (*ApiHandler)(nil)
diff --git a/backend/auth/auth.go b/backend/auth/auth.go
index a8b9050..401773f 100644
--- a/backend/auth/auth.go
+++ b/backend/auth/auth.go
@@ -6,7 +6,7 @@ import (
"golang.org/x/crypto/bcrypt"
- "github.com/nsfisis/iosdc-2024-albatross/backend/db"
+ "github.com/nsfisis/iosdc-japan-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 b7abc68..966cc5f 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-japan-2024-albatross/backend/db"
)
type JWTClaims struct {
diff --git a/backend/game/http.go b/backend/game/http.go
index d955fa3..18f6cda 100644
--- a/backend/game/http.go
+++ b/backend/game/http.go
@@ -6,7 +6,7 @@ import (
"github.com/labstack/echo/v4"
- "github.com/nsfisis/iosdc-2024-albatross/backend/auth"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/auth"
)
type sockHandler struct {
diff --git a/backend/game/hub.go b/backend/game/hub.go
index de3da14..08833ed 100644
--- a/backend/game/hub.go
+++ b/backend/game/hub.go
@@ -8,8 +8,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/oapi-codegen/nullable"
- "github.com/nsfisis/iosdc-2024-albatross/backend/api"
- "github.com/nsfisis/iosdc-2024-albatross/backend/db"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/api"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/db"
)
type playerClientState int
diff --git a/backend/game/message.go b/backend/game/message.go
index bb57eb5..0b413d6 100644
--- a/backend/game/message.go
+++ b/backend/game/message.go
@@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"
- "github.com/nsfisis/iosdc-2024-albatross/backend/api"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/api"
)
const (
diff --git a/backend/game/models.go b/backend/game/models.go
index 8f3bc80..13e3d0f 100644
--- a/backend/game/models.go
+++ b/backend/game/models.go
@@ -3,7 +3,7 @@ package game
import (
"time"
- "github.com/nsfisis/iosdc-2024-albatross/backend/api"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/api"
)
type gameState = api.GameState
diff --git a/backend/go.mod b/backend/go.mod
index 6e4a34a..fe678a0 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-japan-2024-albatross/backend
go 1.22.3
diff --git a/backend/main.go b/backend/main.go
index 91caa73..d3a180c 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -11,9 +11,9 @@ 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/game"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/api"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/db"
+ "github.com/nsfisis/iosdc-japan-2024-albatross/backend/game"
)
func connectDB(ctx context.Context, dsn string) (*pgxpool.Pool, error) {