mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
use a buffered channel to avoid races, and run gofmt
This commit is contained in:
parent
d253bb750c
commit
a34ca40594
2 changed files with 2 additions and 2 deletions
|
@ -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"])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue