diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-07-20 11:30:25 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-07-20 11:30:25 +0300 |
| commit | c61374a2998c33921013693b5faf3159edecf76a (patch) | |
| tree | 90993db9dc8df481b99e6fe1035980b7b4afaf93 /main.go | |
| parent | docs: relicense to AGPLv3 (diff) | |
| download | lphub-c61374a2998c33921013693b5faf3159edecf76a.tar.gz lphub-c61374a2998c33921013693b5faf3159edecf76a.tar.bz2 lphub-c61374a2998c33921013693b5faf3159edecf76a.zip | |
refactor: changed github repo name
Former-commit-id: e579843a0d66574b54b48fc1c02083c868db68a3
Diffstat (limited to '')
| -rw-r--r-- | main.go | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -7,9 +7,9 @@ import ( | |||
| 7 | 7 | ||
| 8 | "github.com/gin-gonic/gin" | 8 | "github.com/gin-gonic/gin" |
| 9 | "github.com/joho/godotenv" | 9 | "github.com/joho/godotenv" |
| 10 | "github.com/pektezol/leastportals/backend/database" | 10 | "github.com/pektezol/leastportalshub/backend/database" |
| 11 | "github.com/pektezol/leastportals/backend/routes" | 11 | "github.com/pektezol/leastportalshub/backend/routes" |
| 12 | _ "github.com/pektezol/leastportals/docs" | 12 | _ "github.com/pektezol/leastportalshub/docs" |
| 13 | ) | 13 | ) |
| 14 | 14 | ||
| 15 | // @title Least Portals Database API | 15 | // @title Least Portals Database API |
| @@ -19,8 +19,8 @@ import ( | |||
| 19 | // @license.name GNU General Public License, Version 2 | 19 | // @license.name GNU General Public License, Version 2 |
| 20 | // @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | 20 | // @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
| 21 | 21 | ||
| 22 | // @host lp.ardapektezol.com/api | 22 | // @host lp.ardapektezol.com/api |
| 23 | // @BasePath /v1 | 23 | // @BasePath /v1 |
| 24 | func main() { | 24 | func main() { |
| 25 | if os.Getenv("ENV") == "PROD" { | 25 | if os.Getenv("ENV") == "PROD" { |
| 26 | gin.SetMode(gin.ReleaseMode) | 26 | gin.SetMode(gin.ReleaseMode) |