blob: e7b4c83b62abc4acbbc3cde77d2e28f151e6e9ce [file] [log] [blame]
package main
import "fmt"
func main() {
c := make(chan string)
go func() {
c <- "Hello"
c <- "World"
}()
fmt.Println(<-c, <-c)
}