This commit is contained in:
kandrusyak
2023-09-25 22:08:18 +03:00
parent f3d2ab9919
commit 569d5ff7ed

View File

@@ -7,6 +7,7 @@ import (
"github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
log2 "github.com/labstack/gommon/log"
"gorm.io/driver/postgres"
"gorm.io/gorm"
"gorm.io/gorm/logger"
@@ -60,5 +61,8 @@ func main() {
e.GET("/health", handler.Health)
e.Debug = true
e.Logger.SetLevel(log2.DEBUG)
e.Logger.Fatal(e.Start(":" + config.Env.Server.Port))
}