chore: tweak linter warning

This commit is contained in:
Steven 2024-08-24 00:25:01 +08:00
parent 4098ac824e
commit 1cf274389c

View File

@ -41,7 +41,7 @@ func NewFrontendService(profile *profile.Profile, store *store.Store) *FrontendS
}
}
func (s *FrontendService) Serve(ctx context.Context, e *echo.Echo) {
func (s *FrontendService) Serve(_ context.Context, e *echo.Echo) {
// Use echo static middleware to serve the built dist folder.
// Reference: https://github.com/labstack/echo/blob/master/middleware/static.go
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{