feat: health check
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"easywish/config"
|
||||
"easywish/internal/logger"
|
||||
"easywish/internal/controllers/serviceController"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -14,16 +15,10 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// Setup logger
|
||||
defer logger.Sync()
|
||||
|
||||
// Connect & migrate database
|
||||
// models.Init()
|
||||
|
||||
// Setup routes
|
||||
r := gin.Default()
|
||||
// serviceController.SetupRoutes(r)
|
||||
// animalController.SetupRoutes(r)
|
||||
serviceController.SetupRoutes(r)
|
||||
r.Run()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user