diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-22 13:17:55 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-22 13:32:35 +0800 |
commit | 7a6f71ac73b41a38e9982bea3d46a87c327bd77a (patch) | |
tree | 92d5b637f57080af40c2f42834282df58a4e21a3 /http_handle_index.go | |
parent | fedauth: Use NewRequestWithContext (diff) | |
download | forge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.tar.gz forge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.tar.zst forge-7a6f71ac73b41a38e9982bea3d46a87c327bd77a.zip |
Initial linting
Diffstat (limited to 'http_handle_index.go')
-rw-r--r-- | http_handle_index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_index.go b/http_handle_index.go index 2fc99a6..360c033 100644 --- a/http_handle_index.go +++ b/http_handle_index.go @@ -22,7 +22,7 @@ func httpHandleIndex(w http.ResponseWriter, r *http.Request, params map[string]a params["groups"] = groups // Memory currently allocated - memstats := runtime.MemStats{} + memstats := runtime.MemStats{} //exhaustruct:ignore runtime.ReadMemStats(&memstats) params["mem"] = humanize.IBytes(memstats.Alloc) renderTemplate(w, "index", params) |