Skip to content

Instantly share code, notes, and snippets.

@martincartledge
Created August 5, 2020 11:27
package main
import (
"fmt"
)
func main() {
c := make(chan int)
go func() {
c <- 29
}()
fmt.Println(<-c)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment