Skip to content

Commit

Permalink
chore: fix var decls
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistTheNeil committed Sep 27, 2024
1 parent 345cb50 commit ff880a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import (
"github.com/labstack/echo/v4/middleware"
)

var e *echo.Echo
var once sync.Once
var (
e *echo.Echo
once sync.Once
)

//go:embed all:dist
var spaFS embed.FS
Expand Down

0 comments on commit ff880a3

Please sign in to comment.