Sign in
go
/
website
/
b4564f4a8ce1a51d6c3e3c2571a1122924d525c7
/
.
/
_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)
}