aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/git/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/handler/git/handler.go')
-rw-r--r--pkg/handler/git/handler.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go
index 236ac41..e088749 100644
--- a/pkg/handler/git/handler.go
+++ b/pkg/handler/git/handler.go
@@ -34,3 +34,8 @@ func (g *GitHandler) List(w http.ResponseWriter, _ *http.Request) {
gitList := &templates.GitListPage{repos}
templates.WritePageTemplate(w, gitList)
}
+
+func (g *GitHandler) Item(w http.ResponseWriter, _ *http.Request) {
+ gitList := &templates.GitItemPage{}
+ templates.WritePageTemplate(w, gitList)
+}