title: Cannot get the multiple channel values in go routines
body: <p>I have written 2 goroutines for web socket read and write the message. For Example, </p>
  
  <pre><code>ch := make(chan bool)
  folderName := make(chan string)
  
  go func(co *websocket.Conn) {
      m, d, err := co.ReadMessage()
      fmt.Println(m, string(d), err)
  
      folderName &lt;- string(d)
      ch &lt;- true
  
      if string(d) == "closed" {
          ch &lt;- true
          co.Close()
      }
  }(conn)
  </code></pre>
  
  <p>This goroutine is used to read the message from the socket and update the channels.</p>
  
  <pre><code>go func(co *websocket.Conn) {
      value := &lt;-ch
      fldr := &lt;-folderName
  
      fmt.Println(fldr, value)
  }(conn)
  </code></pre>
  
  <p>This goroutine is for writing the message. But I couldn't get folderName and ch channel values. I don't know how to find the issues.</p>
  
  <p>If I pass the single channel, I can get a message from the channel. But I need to get 2 values in that goroutine.</p>
  
  <p>Could anyone help to resolve the issues? Thanks in advance.</p>