Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created March 9, 2021 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/02eef4d15f457da943702e6144e47ce9 to your computer and use it in GitHub Desktop.
Save velotiotech/02eef4d15f457da943702e6144e47ce9 to your computer and use it in GitHub Desktop.
//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