Skip to content

Instantly share code, notes, and snippets.

@mayra-cabrera
Last active November 1, 2015 20:26
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 mayra-cabrera/82a110fadc40e097d7f8 to your computer and use it in GitHub Desktop.
Save mayra-cabrera/82a110fadc40e097d7f8 to your computer and use it in GitHub Desktop.
Buffer & unbuffered channels
package main
import "fmt"
func main() {
ch_unbuffered := make(chan string)
ch_buffer := make(chan string, 2)
.......
.......
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment