Commit 98f2cf63 authored by Steven's avatar Steven

chore: tweak linter

parent b1cc1255
...@@ -29,7 +29,7 @@ func NewFrontendService(profile *profile.Profile, store *store.Store) *FrontendS ...@@ -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 { skipper := func(c echo.Context) bool {
return util.HasPrefixes(c.Path(), "/api", "/memos.api.v1") return util.HasPrefixes(c.Path(), "/api", "/memos.api.v1")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment