some go lint (Id -> ID)
This commit is contained in:
parent
86a00042c3
commit
15f1ad15f4
@ -31,18 +31,18 @@ var spectate = flag.Bool("spectate", false, "enable terminal visualizer")
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
rand.Seed(time.Now().UnixNano())
|
rand.Seed(time.Now().UnixNano())
|
||||||
var gameId string
|
var gameID string
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
if flag.NArg() < 1 {
|
if flag.NArg() < 1 {
|
||||||
gameId = "debug"
|
gameID = "debug"
|
||||||
} else {
|
} else {
|
||||||
gameId = flag.Arg(0)
|
gameID = flag.Arg(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
c := &client.Client{
|
c := &client.Client{
|
||||||
Server: *addr,
|
Server: *addr,
|
||||||
Name: *botname,
|
Name: *botname,
|
||||||
GameId: gameId,
|
GameId: gameID,
|
||||||
ForceJSON: *forceJSON,
|
ForceJSON: *forceJSON,
|
||||||
}
|
}
|
||||||
sr := server.StatsRequest{
|
sr := server.StatsRequest{
|
||||||
|
Loading…
Reference in New Issue
Block a user