Channel (programming): Difference between revisions

Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0
Line 45:
c := make(chan int)
 
go func() {c <-+ 42}()
 
x := <- c