aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-07-20 11:30:25 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-07-20 11:30:25 +0300
commitc61374a2998c33921013693b5faf3159edecf76a (patch)
tree90993db9dc8df481b99e6fe1035980b7b4afaf93 /backend
parentdocs: relicense to AGPLv3 (diff)
downloadlphub-c61374a2998c33921013693b5faf3159edecf76a.tar.gz
lphub-c61374a2998c33921013693b5faf3159edecf76a.tar.bz2
lphub-c61374a2998c33921013693b5faf3159edecf76a.zip
refactor: changed github repo name
Former-commit-id: e579843a0d66574b54b48fc1c02083c868db68a3
Diffstat (limited to 'backend')
-rw-r--r--backend/controllers/homeController.go4
-rw-r--r--backend/controllers/loginController.go4
-rw-r--r--backend/controllers/mapController.go4
-rw-r--r--backend/controllers/modController.go4
-rw-r--r--backend/controllers/recordController.go6
-rw-r--r--backend/controllers/userController.go4
-rw-r--r--backend/middleware/auth.go4
-rw-r--r--backend/routes/routes.go4
8 files changed, 17 insertions, 17 deletions
diff --git a/backend/controllers/homeController.go b/backend/controllers/homeController.go
index 2780e63..c94590a 100644
--- a/backend/controllers/homeController.go
+++ b/backend/controllers/homeController.go
@@ -6,8 +6,8 @@ import (
6 "strings" 6 "strings"
7 7
8 "github.com/gin-gonic/gin" 8 "github.com/gin-gonic/gin"
9 "github.com/pektezol/leastportals/backend/database" 9 "github.com/pektezol/leastportalshub/backend/database"
10 "github.com/pektezol/leastportals/backend/models" 10 "github.com/pektezol/leastportalshub/backend/models"
11) 11)
12 12
13func Home(c *gin.Context) { 13func Home(c *gin.Context) {
diff --git a/backend/controllers/loginController.go b/backend/controllers/loginController.go
index ae6e957..e907b22 100644
--- a/backend/controllers/loginController.go
+++ b/backend/controllers/loginController.go
@@ -10,8 +10,8 @@ import (
10 10
11 "github.com/gin-gonic/gin" 11 "github.com/gin-gonic/gin"
12 "github.com/golang-jwt/jwt/v4" 12 "github.com/golang-jwt/jwt/v4"
13 "github.com/pektezol/leastportals/backend/database" 13 "github.com/pektezol/leastportalshub/backend/database"
14 "github.com/pektezol/leastportals/backend/models" 14 "github.com/pektezol/leastportalshub/backend/models"
15 "github.com/solovev/steam_go" 15 "github.com/solovev/steam_go"
16) 16)
17 17
diff --git a/backend/controllers/mapController.go b/backend/controllers/mapController.go
index e7c5566..ebd65dd 100644
--- a/backend/controllers/mapController.go
+++ b/backend/controllers/mapController.go
@@ -5,8 +5,8 @@ import (
5 "strconv" 5 "strconv"
6 6
7 "github.com/gin-gonic/gin" 7 "github.com/gin-gonic/gin"
8 "github.com/pektezol/leastportals/backend/database" 8 "github.com/pektezol/leastportalshub/backend/database"
9 "github.com/pektezol/leastportals/backend/models" 9 "github.com/pektezol/leastportalshub/backend/models"
10) 10)
11 11
12// GET Map Summary 12// GET Map Summary
diff --git a/backend/controllers/modController.go b/backend/controllers/modController.go
index 07edff5..e2add1f 100644
--- a/backend/controllers/modController.go
+++ b/backend/controllers/modController.go
@@ -5,8 +5,8 @@ import (
5 "strconv" 5 "strconv"
6 6
7 "github.com/gin-gonic/gin" 7 "github.com/gin-gonic/gin"
8 "github.com/pektezol/leastportals/backend/database" 8 "github.com/pektezol/leastportalshub/backend/database"
9 "github.com/pektezol/leastportals/backend/models" 9 "github.com/pektezol/leastportalshub/backend/models"
10) 10)
11 11
12// POST Map Summary 12// POST Map Summary
diff --git a/backend/controllers/recordController.go b/backend/controllers/recordController.go
index d1404f4..951be41 100644
--- a/backend/controllers/recordController.go
+++ b/backend/controllers/recordController.go
@@ -11,9 +11,9 @@ import (
11 11
12 "github.com/gin-gonic/gin" 12 "github.com/gin-gonic/gin"
13 "github.com/google/uuid" 13 "github.com/google/uuid"
14 "github.com/pektezol/leastportals/backend/database" 14 "github.com/pektezol/leastportalshub/backend/database"
15 "github.com/pektezol/leastportals/backend/models" 15 "github.com/pektezol/leastportalshub/backend/models"
16 "github.com/pektezol/leastportals/backend/parser" 16 "github.com/pektezol/leastportalshub/backend/parser"
17 "golang.org/x/oauth2/google" 17 "golang.org/x/oauth2/google"
18 "golang.org/x/oauth2/jwt" 18 "golang.org/x/oauth2/jwt"
19 "google.golang.org/api/drive/v3" 19 "google.golang.org/api/drive/v3"
diff --git a/backend/controllers/userController.go b/backend/controllers/userController.go
index e73b1fe..6aa77fc 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -7,8 +7,8 @@ import (
7 "time" 7 "time"
8 8
9 "github.com/gin-gonic/gin" 9 "github.com/gin-gonic/gin"
10 "github.com/pektezol/leastportals/backend/database" 10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportals/backend/models" 11 "github.com/pektezol/leastportalshub/backend/models"
12) 12)
13 13
14// GET Profile 14// GET Profile
diff --git a/backend/middleware/auth.go b/backend/middleware/auth.go
index 0698f0a..0744b3d 100644
--- a/backend/middleware/auth.go
+++ b/backend/middleware/auth.go
@@ -7,8 +7,8 @@ import (
7 7
8 "github.com/gin-gonic/gin" 8 "github.com/gin-gonic/gin"
9 "github.com/golang-jwt/jwt/v4" 9 "github.com/golang-jwt/jwt/v4"
10 "github.com/pektezol/leastportals/backend/database" 10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportals/backend/models" 11 "github.com/pektezol/leastportalshub/backend/models"
12) 12)
13 13
14func CheckAuth(c *gin.Context) { 14func CheckAuth(c *gin.Context) {
diff --git a/backend/routes/routes.go b/backend/routes/routes.go
index 1377d32..0b80678 100644
--- a/backend/routes/routes.go
+++ b/backend/routes/routes.go
@@ -2,8 +2,8 @@ package routes
2 2
3import ( 3import (
4 "github.com/gin-gonic/gin" 4 "github.com/gin-gonic/gin"
5 "github.com/pektezol/leastportals/backend/controllers" 5 "github.com/pektezol/leastportalshub/backend/controllers"
6 "github.com/pektezol/leastportals/backend/middleware" 6 "github.com/pektezol/leastportalshub/backend/middleware"
7 swaggerfiles "github.com/swaggo/files" 7 swaggerfiles "github.com/swaggo/files"
8 ginSwagger "github.com/swaggo/gin-swagger" 8 ginSwagger "github.com/swaggo/gin-swagger"
9) 9)