github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2013/distsys/hello.go (about)

     1  // +build OMIT
     2  
     3  package main
     4  
     5  import "fmt"
     6  
     7  func main() {
     8  	c := make(chan string)
     9  	go func() {
    10  		c <- "Hello"
    11  		c <- "World"
    12  	}()
    13  	fmt.Println(<-c, <-c)
    14  }