From 4e029fb83a1e70495330eaac94981a97de24682e Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 26 Jan 2025 00:04:38 +0100 Subject: feat(webui): bootstrap a proper UI --- pkg/webui/index.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/webui/index.go') diff --git a/pkg/webui/index.go b/pkg/webui/index.go index 3a52fc1..deea5d1 100644 --- a/pkg/webui/index.go +++ b/pkg/webui/index.go @@ -5,6 +5,11 @@ import ( "net/http" ) +type Page struct { + Section string + Title string +} + func handleIndexGET() http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if r.URL.Path == "/" { -- cgit v1.2.3