From e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 30 May 2024 17:01:38 +0200 Subject: feat: Add initial git item page --- pkg/handler/git/handler.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/handler/git/handler.go') 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) +} -- cgit v1.2.3