From 655b6b211ae6df0186abd740f248939f7ddeaec1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 16:59:18 +0800 Subject: Add descriptive comments to most Go functions --- http_handle_index.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http_handle_index.go') diff --git a/http_handle_index.go b/http_handle_index.go index 9840e83..5d2dc3e 100644 --- a/http_handle_index.go +++ b/http_handle_index.go @@ -10,6 +10,8 @@ import ( "github.com/dustin/go-humanize" ) +// httpHandleIndex provides the main index page which includes a list of groups +// and some global information such as SSH keys. func httpHandleIndex(writer http.ResponseWriter, request *http.Request, params map[string]any) { var err error var groups []nameDesc -- cgit v1.2.3