From 15f1ad15f44e5b3aeb6ab07574a4b0fbabce1ac1 Mon Sep 17 00:00:00 2001 From: stephen mcquay Date: Sun, 17 Jul 2016 23:35:48 -0700 Subject: [PATCH] some go lint (Id -> ID) --- cmd/gobot/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/gobot/main.go b/cmd/gobot/main.go index b3bccb1..c663352 100644 --- a/cmd/gobot/main.go +++ b/cmd/gobot/main.go @@ -31,18 +31,18 @@ var spectate = flag.Bool("spectate", false, "enable terminal visualizer") func main() { rand.Seed(time.Now().UnixNano()) - var gameId string + var gameID string flag.Parse() if flag.NArg() < 1 { - gameId = "debug" + gameID = "debug" } else { - gameId = flag.Arg(0) + gameID = flag.Arg(0) } c := &client.Client{ Server: *addr, Name: *botname, - GameId: gameId, + GameId: gameID, ForceJSON: *forceJSON, } sr := server.StatsRequest{