freeCodeCamp/guide/english/go/go-channels/index.md

19 lines
866 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Go Channels
---
## Go Channels
Channels are the pipes that connect concurrent goroutines. You can send values into channels from one goroutine and receive those values into another goroutine.
2018-10-12 19:37:13 +00:00
[This quick style guide will help ensure your pull request gets accepted](https://github.com/freecodecamp/guides/blob/master/README.md).
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
* [A Tour of Go](https://tour.golang.org/concurrency/2)
* [Go By Example](https://gobyexample.com/channels)
* [Golang Book](https://www.golang-book.com/books/intro/10)
* [The Go Programming Language Specification](https://golang.org/ref/spec#Making_slices_maps_and_channels)