diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-19 11:39:54 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-19 12:03:39 +0800 |
commit | 90ce7b1faf976d76329a8c02008cd84c78a753f5 (patch) | |
tree | 9374618661e2521fec73ab9fc6f1f0f8f68f0c2b /http_handle_gc.go | |
parent | Remove underscores from Go code, pt 3 (diff) | |
download | forge-90ce7b1faf976d76329a8c02008cd84c78a753f5.tar.gz forge-90ce7b1faf976d76329a8c02008cd84c78a753f5.tar.zst forge-90ce7b1faf976d76329a8c02008cd84c78a753f5.zip |
Remove underscores from Go code, pt 4
Diffstat (limited to 'http_handle_gc.go')
-rw-r--r-- | http_handle_gc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_gc.go b/http_handle_gc.go index 3f7717c..b00ef8a 100644 --- a/http_handle_gc.go +++ b/http_handle_gc.go @@ -8,7 +8,7 @@ import ( "runtime" ) -func handle_gc(w http.ResponseWriter, r *http.Request, params map[string]any) { +func httpHandleGC(w http.ResponseWriter, r *http.Request, params map[string]any) { runtime.GC() http.Redirect(w, r, "/", http.StatusSeeOther) } |