diff --git a/internal/bootstrap/app_bootstrap.go b/internal/bootstrap/app_bootstrap.go index ff7f974..d470a9d 100644 --- a/internal/bootstrap/app_bootstrap.go +++ b/internal/bootstrap/app_bootstrap.go @@ -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) diff --git a/internal/bootstrap/routes_boostrap.go b/internal/bootstrap/router_boostrap.go similarity index 98% rename from internal/bootstrap/routes_boostrap.go rename to internal/bootstrap/router_boostrap.go index dc99886..554becb 100644 --- a/internal/bootstrap/routes_boostrap.go +++ b/internal/bootstrap/router_boostrap.go @@ -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())