aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_index.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 23:21:58 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 23:21:58 +0800
commit7a52525ff474629316a3986f8b7391ca191da52e (patch)
tree1b0b64a235c4b3f9165c6130621a4f6bb1852ad5 /http_handle_repo_index.go
parentweb: Separate HTTP error pages into its own package (diff)
downloadforge-7a52525ff474629316a3986f8b7391ca191da52e.tar.gz
forge-7a52525ff474629316a3986f8b7391ca191da52e.tar.zst
forge-7a52525ff474629316a3986f8b7391ca191da52e.zip
Remove unused types/functions
Diffstat (limited to '')
-rw-r--r--http_handle_repo_index.go8
1 files changed, 0 insertions, 8 deletions
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)