Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created March 9, 2021 07:03
//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