use a buffered channel to avoid races, and run gofmt

This commit is contained in:
Arceliar 2018-11-25 17:59:36 -06:00
parent d253bb750c
commit a34ca40594
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,7 @@ func main() {
fmt.Println("No nodes found")
} else {
for _, v := range res["nodes"].([]interface{}) {
m := v.(map[string]interface{})
m := v.(map[string]interface{})
fmt.Println("-", m["key"], m["coords"])
}
}