Skip to content

Instantly share code, notes, and snippets.

@apiarian
Created March 26, 2017 13:11
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 apiarian/e4dbac4ae317538f0d0da53bc99c4c1d to your computer and use it in GitHub Desktop.
Save apiarian/e4dbac4ae317538f0d0da53bc99c4c1d to your computer and use it in GitHub Desktop.
because sometimes i forget

Golang Channels

  • send blocks forever
  • receive blocks forever
  • send blocks until received
  • receive blocks until sent
  • send panics
  • receive returns zero value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment