From 1b108fd23c6a4f5d1079e32110dad88b3559dc38 Mon Sep 17 00:00:00 2001 From: andrea Date: Wed, 12 Jul 2023 09:27:50 +0200 Subject: [PATCH] Annotate client.Answer --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index 574a3e4..5d38d73 100644 --- a/client/client.go +++ b/client/client.go @@ -7,8 +7,8 @@ type Question struct { } type Answer struct { - Text string - Correct bool + Text string `json:"text"` + Correct bool `json:"correct"` } type Quiz struct {