chore: tweak linter
This commit is contained in:
parent
b1cc1255bb
commit
98f2cf6397
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue