From 90ce7b1faf976d76329a8c02008cd84c78a753f5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Mar 2025 11:39:54 +0800 Subject: Remove underscores from Go code, pt 4 --- http_handle_repo_contrib_index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http_handle_repo_contrib_index.go') diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index f352a3f..152c8cd 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -15,7 +15,7 @@ type id_title_status_t struct { Status string } -func handle_repo_contrib_index(w http.ResponseWriter, r *http.Request, params map[string]any) { +func httpHandleRepoContribIndex(w http.ResponseWriter, r *http.Request, params map[string]any) { var rows pgx.Rows var result []id_title_status_t var err error @@ -44,5 +44,5 @@ func handle_repo_contrib_index(w http.ResponseWriter, r *http.Request, params ma } params["merge_requests"] = result - render_template(w, "repo_contrib_index", params) + renderTemplate(w, "repo_contrib_index", params) } -- cgit v1.2.3