aboutsummaryrefslogtreecommitdiff
path: root/pkg/view/auth.go
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-19 16:50:04 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-19 16:50:04 +0200
commit2857052a38c9ad2c5946f6101bf7d37d63235df8 (patch)
tree8c80c37560336171b5b0e550a0244ebbcfc1e160 /pkg/view/auth.go
parent6531b1c0a720a63ee3127f9a09f14ba861838b01 (diff)
downloadlens-2857052a38c9ad2c5946f6101bf7d37d63235df8.tar.gz
lens-2857052a38c9ad2c5946f6101bf7d37d63235df8.tar.bz2
lens-2857052a38c9ad2c5946f6101bf7d37d63235df8.zip
fix: Fix various linting error
Diffstat (limited to 'pkg/view/auth.go')
-rw-r--r--pkg/view/auth.go4
1 files changed, 2 insertions, 2 deletions
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
}