Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: tweak linter

Steven98f2cf639765
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")
}