From 7a52525ff474629316a3986f8b7391ca191da52e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 23:21:58 +0800 Subject: Remove unused types/functions --- http_handle_repo_index.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'http_handle_repo_index.go') diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go index 567f329..bb5d57e 100644 --- a/http_handle_repo_index.go +++ b/http_handle_repo_index.go @@ -11,14 +11,6 @@ import ( "go.lindenii.runxiyu.org/forge/internal/web" ) -type commitDisplay struct { - Hash string - Author string - Email string - Date string - Message string -} - // httpHandleRepoIndex provides the front page of a repo using git2d. func (s *Server) httpHandleRepoIndex(w http.ResponseWriter, req *http.Request, params map[string]any) { repoName := params["repo_name"].(string) -- cgit v1.2.3