Skip to content

Commit 2932aba

Browse files
committed
chore: rename setup routes to setup router
1 parent 5cad1f0 commit 2932aba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/bootstrap/app_bootstrap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ func (app *BootstrapApp) Setup() error {
124124
return fmt.Errorf("no authentication providers configured")
125125
}
126126

127-
// Setup routes
128-
engine, err := app.setupRoutes()
127+
// Setup router
128+
engine, err := app.setupRouter()
129129

130130
if err != nil {
131131
return fmt.Errorf("failed to setup routes: %w", err)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/gin-gonic/gin"
1010
)
1111

12-
func (app *BootstrapApp) setupRoutes() (*gin.Engine, error) {
12+
func (app *BootstrapApp) setupRouter() (*gin.Engine, error) {
1313
engine := gin.New()
1414
engine.Use(gin.Recovery())
1515

0 commit comments

Comments
 (0)