aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_index.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_index.go')
-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)