aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/git/handler.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 17:01:38 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 17:01:38 +0200
commite52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe (patch)
tree9b067f810dfb9cbe6e7aabf2f7c88c77fc306531 /pkg/handler/git/handler.go
parent242ba7f412d4e54f21385afff3f2b884f57f6ced (diff)
downloadcerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.tar.gz
cerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.tar.bz2
cerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.zip
feat: Add initial git item page
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)
+}