title: What are channels used for?
body: <p>When looking through some Go code I found the following:</p>
  
  <pre><code>  ch := make(chan int)
  </code></pre>
  
  <p>I looked up in a online tutorial how Go Channels work:</p>
  
  <p><a href="https://tour.golang.org/concurrency/2" rel="noreferrer">https://tour.golang.org/concurrency/2</a></p>
  
  <p>But I find this example unclear.</p>
  
  <p>Can someone give me a easy explanation and an example of the use of channels?</p>