Sign in
go
/
talks
/
297473c9fe5fbefa9ca0d6491bd268a2b612f49c
/
.
/
2013
/
distsys
/
hello.go
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)
}