diff options
Diffstat (limited to 'src/structs.go')
-rw-r--r-- | src/structs.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/structs.go b/src/structs.go index 84fe6d9..9db5ab7 100644 --- a/src/structs.go +++ b/src/structs.go @@ -2,14 +2,14 @@ package main // Challenge defines a challenge as in the original companion.json format type Challenge struct { - UUID string - Name string - Description string - Flag string - Container string - Category string - Points int - Static bool + UUID string `json:"uuid"` + Name string `json:"name"` + Description string `json:"description"` + Flag string `json:"flag"` + Container string `json:"container"` + Category string `json:"category"` + Points int `json:"points"` + Static bool `json:"static"` } // Challenges defines a list of challenges. |