Use select to block the main thread

This commit is contained in:
raylu 2011-03-09 19:48:57 -06:00
parent 186519214f
commit 420f9ed131
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func main() {
} }
} }
<- make(chan bool) select { }
} }
func connect(network string) { func connect(network string) {