mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 05:46:30 +03:00
use a buffered channel to avoid races, and run gofmt
This commit is contained in:
@@ -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"])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user