Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//create channel
c := make(chan int)
fmt.Printf("Type of `c`: %T\n", c)
fmt.Printf("Value of `c` is %v\n", c)
Type of `c`: chan int
Value of `c` is 0xc000022120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment