From 55cfa37ac5815d09b72acafae7864a66eae458ca Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 6 Jun 2020 19:11:12 +0100 Subject: [PATCH] Give the rover name a json representation in lowercase --- pkg/game/rover.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/game/rover.go b/pkg/game/rover.go index 6829de7..3952774 100644 --- a/pkg/game/rover.go +++ b/pkg/game/rover.go @@ -11,7 +11,7 @@ type RoverAttributes struct { Range int `json:"range"` // Name of this rover - Name string + Name string `json:"name"` // Pos represents where this rover is in the world Pos Vector `json:"pos"`