title: Go lang slice columns from 2d array?
body: <p>I'm curious, how do you create a column slice from a 2d Array?</p>
  
  <p>I have an array for a game board for Tic-Tac-Toe, and I'm trying to create a column slice, but my slices are coming out identical.</p>
  
  <pre><code>/* Just trying to get rows and columns working first */
  
  func() isWin() bool {
    win := make([]char, SIZE*2)
    for i:= range BOARD {
      fmt.Println("Row")
      win[i] = check(BOARD[i][0:SIZE])
      fmt.Println("Column")
      win[i+SIZE] = check(BOARD[0:SIZE][i])
    }
  return false
  }
  
  func() check(slice []char) (char) {
    fmt.Println(slice)
    return "-"
  }
  </code></pre>
  
  <p>I give it the following input: </p>
  
  <pre><code>[E E E E]
  [E E E E]
  [X O E E]
  [X O E E]
  </code></pre>
  
  <p>And I get a return of</p>
  
  <pre><code>Row
  [X O E E]
  Column
  [X O E E]
  </code></pre>
  
  <p>But I want a return of</p>
  
  <pre><code>Row
  [X O E E]
  Column
  [E E X X]
  </code></pre>
  
  <p>How do I make this slice?</p>