package main
import (
"fmt"
)
func main() {
done := make(chan bool)
hellos := make(chan string)
go func() {
for i := 0; i < 10; i++ {
hellos <- "Hello World"
}
done <- true
}()
go func() {
for {
select {
case hello := <-hellos:
fmt.Println(hello)
}
}
}()
<-done
}
superdecimal / service.xbmc-oasth Goto Github PK
View Code? Open in Web Editor NEWXBMC Plugin Bus Information for OASTH Thessaloniki