From 98f2cf63976569e01bdbfe1c1e09987a94f2604f Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 30 May 2024 07:23:16 +0800 Subject: [PATCH] chore: tweak linter --- server/router/frontend/frontend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/router/frontend/frontend.go b/server/router/frontend/frontend.go index dc2d31392..81285b384 100644 --- a/server/router/frontend/frontend.go +++ b/server/router/frontend/frontend.go @@ -29,7 +29,7 @@ func NewFrontendService(profile *profile.Profile, store *store.Store) *FrontendS } } -func (s *FrontendService) Serve(ctx context.Context, e *echo.Echo) { +func (*FrontendService) Serve(_ context.Context, e *echo.Echo) { skipper := func(c echo.Context) bool { return util.HasPrefixes(c.Path(), "/api", "/memos.api.v1") }