Sign in
go
/
website
/
8f7c30f1307029437a758efd8a8c3757f90a2430
/
.
/
_content
/
talks
/
2013
/
distsys
/
hello.go
blob: 32efb51eb55de7606f791226f1a6b81d84cc9308 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import "fmt"
func main() {
c := make(chan string)
go func() {
c <- "Hello"
c <- "World"
}()
fmt.Println(<-c, <-c)
}