Sign in
go
/
talks
/
7426e6461029fb2f2fec878911ca8cca745dd7af
/
.
/
content
/
2014
/
research2
/
hello.go
blob: 6e52b3817722e27d08623a0d883a3bbb7743bf77 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
c := make(chan string)
go func() {
c <- "Hello"
c <- "World"
}()
fmt.Println(<-c, <-c)
}