aboutsummaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--backend/main.go (renamed from main.go)15
1 files changed, 8 insertions, 7 deletions
diff --git a/main.go b/backend/main.go
index ad465f8..202c607 100644
--- a/main.go
+++ b/backend/main.go
@@ -5,22 +5,23 @@ import (
5 "log" 5 "log"
6 "os" 6 "os"
7 7
8 "lphub/api"
9 "lphub/database"
10 _ "lphub/docs"
11
8 "github.com/gin-gonic/gin" 12 "github.com/gin-gonic/gin"
9 "github.com/joho/godotenv" 13 "github.com/joho/godotenv"
10 "github.com/pektezol/leastportalshub/backend/api"
11 "github.com/pektezol/leastportalshub/backend/database"
12 _ "github.com/pektezol/leastportalshub/docs"
13) 14)
14 15
15// @title Least Portals Database API 16// @title Least Portals Database API
16// @version 1.0 17// @version 1.0
17// @description Backend API endpoints for the Least Portals Database. 18// @description Backend API endpoints for the Least Portals Database.
18 19
19// @license.name GNU General Public License, Version 2 20// @license.name GNU Affero General Public License, Version 3
20// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 21// @license.url https://www.gnu.org/licenses/agpl-3.0.html
21 22
22// @host lp.ardapektezol.com 23// @host lp.ardapektezol.com
23// @BasePath /api/v1 24// @BasePath /api/v1
24func main() { 25func main() {
25 err := godotenv.Load() 26 err := godotenv.Load()
26 if err != nil { 27 if err != nil {