From 0e37af2bb99ead053f79f97a08e90097b06d44a9 Mon Sep 17 00:00:00 2001 From: "Grail Finder (aider)" Date: Sat, 29 Mar 2025 14:55:08 +0300 Subject: fix: correct template scope and add question ID --- internal/handlers/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal') diff --git a/internal/handlers/main.go b/internal/handlers/main.go index 1f3f740..86d0915 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -61,6 +61,7 @@ func (h *Handlers) MainPage(w http.ResponseWriter, r *http.Request) { return } testQuestion := &models.Question{ + ID: 1, Text: "___ du keine Zweifel daran?", Options: []string{"Haben", "Hast", "Hat", "Habt"}, CorrectIndex: 1, -- cgit v1.2.3