diff options
-rw-r--r-- | internal/handlers/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/handlers/main.go b/internal/handlers/main.go index c167cae..c4222f4 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -69,7 +69,10 @@ func (h *Handlers) MainPage(w http.ResponseWriter, r *http.Request) { testQuestion := &models.Question{ ID: 1, Text: "___ du keine Zweifel daran?", - Options: []string{"Haben", "Hast", "Hat", "Habt"}, + Option1: "Haben", + Option2: "Hast", + Option3: "Hat", + Option4: "Habt", CorrectIndex: 1, } tmpl.ExecuteTemplate(w, "main", testQuestion) |