chore: rename setup routes to setup router

This commit is contained in:
Stavros
2025-12-13 16:02:14 +02:00
parent 5cad1f0219
commit 2932aba750
2 changed files with 3 additions and 3 deletions

View File

@@ -124,8 +124,8 @@ func (app *BootstrapApp) Setup() error {
return fmt.Errorf("no authentication providers configured")
}
// Setup routes
engine, err := app.setupRoutes()
// Setup router
engine, err := app.setupRouter()
if err != nil {
return fmt.Errorf("failed to setup routes: %w", err)

View File

@@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin"
)
func (app *BootstrapApp) setupRoutes() (*gin.Engine, error) {
func (app *BootstrapApp) setupRouter() (*gin.Engine, error) {
engine := gin.New()
engine.Use(gin.Recovery())