aboutsummaryrefslogtreecommitdiff
path: root/http_handle_gc.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-22 13:17:55 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-22 13:32:35 +0800
commit7a6f71ac73b41a38e9982bea3d46a87c327bd77a (patch)
tree92d5b637f57080af40c2f42834282df58a4e21a3 /http_handle_gc.go
parentfedauth: Use NewRequestWithContext (diff)
downloadforge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.tar.gz
forge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.tar.zst
forge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.zip
Initial linting
Diffstat (limited to 'http_handle_gc.go')
-rw-r--r--http_handle_gc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_gc.go b/http_handle_gc.go
index b00ef8a..5f98d0e 100644
--- a/http_handle_gc.go
+++ b/http_handle_gc.go
@@ -8,7 +8,7 @@ import (
"runtime"
)
-func httpHandleGC(w http.ResponseWriter, r *http.Request, params map[string]any) {
+func httpHandleGC(w http.ResponseWriter, r *http.Request, _ map[string]any) {
runtime.GC()
http.Redirect(w, r, "/", http.StatusSeeOther)
}