From 16165aea34a711027825b3f6512e73a0156f8068 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 10 Sep 2024 22:13:24 +0300 Subject: refactor: move backend entry, rename module --- backend/api/auth.go | 5 +++-- backend/api/routes.go | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'backend/api') diff --git a/backend/api/auth.go b/backend/api/auth.go index 91ef80c..621a68b 100644 --- a/backend/api/auth.go +++ b/backend/api/auth.go @@ -5,10 +5,11 @@ import ( "os" "time" + "lphub/database" + "lphub/models" + "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v4" - "github.com/pektezol/leastportalshub/backend/database" - "github.com/pektezol/leastportalshub/backend/models" ) func CheckAuth(c *gin.Context) { diff --git a/backend/api/routes.go b/backend/api/routes.go index ed1ca90..050a3bd 100644 --- a/backend/api/routes.go +++ b/backend/api/routes.go @@ -1,8 +1,9 @@ package api import ( + "lphub/handlers" + "github.com/gin-gonic/gin" - "github.com/pektezol/leastportalshub/backend/handlers" swaggerfiles "github.com/swaggo/files" ginSwagger "github.com/swaggo/gin-swagger" ) -- cgit v1.2.3