From 2857052a38c9ad2c5946f6101bf7d37d63235df8 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 19 Aug 2023 16:50:04 +0200 Subject: fix: Fix various linting error --- pkg/view/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/view/auth.go') diff --git a/pkg/view/auth.go b/pkg/view/auth.go index 2a4b95e..1b87235 100644 --- a/pkg/view/auth.go +++ b/pkg/view/auth.go @@ -19,7 +19,7 @@ func NewAuthView(userController *service.AuthController) *AuthView { } } -func (v *AuthView) LoginView(w http.ResponseWriter, r *http.Request) error { +func (v *AuthView) LoginView(w http.ResponseWriter, _ *http.Request) error { templates.WritePageTemplate(w, &templates.LoginPage{}) return nil } @@ -72,7 +72,7 @@ func Index(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "/login", http.StatusTemporaryRedirect) } -func (v *AuthView) InitialRegisterView(w http.ResponseWriter, r *http.Request) error { +func (v *AuthView) InitialRegisterView(w http.ResponseWriter, _ *http.Request) error { templates.WritePageTemplate(w, &templates.RegisterPage{}) return nil } -- cgit v1.2.3