diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-08-25 23:41:13 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-08-25 23:41:13 +0300 |
| commit | ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447 (patch) | |
| tree | 296837f577a86a042a16cd006a96c523cbcedcf5 /main.go | |
| parent | feat: better score handling in profiles (#51) (diff) | |
| download | lphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.tar.gz lphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.tar.bz2 lphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.zip | |
docs: profile improvement swagger (#51)
Former-commit-id: ff35be478c4f29c611c40fa34ca5d134e970cc16
Diffstat (limited to '')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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) |