title: Initialize a 2d dynamic array in Go
body: <p>I am trying to create a 2d array in Go:</p>
  
  <pre><code>board := make([][]string, m)
  for i := range board {
      board[i] = make([]string, n)
  }
  </code></pre>
  
  <p>However, given the verbosity of that, I am wondering if there is a better or more succinct way to handle this problem (either to generate dynamic arrays, or a different/idiomatic data-structure to handle such board-game like data)?</p>
  
  <hr>
  
  <p>Background: </p>
  
  <ul>
  <li>this is for a board game</li>
  <li>the dimensions of the board are not known until a user starts playing (so, say, MxN).</li>
  <li>I want to store an arbitrary character (or a single char string) in each cell. In my TicTacToe game that will be the 'X' or an 'O' (or any other character the user chooses).</li>
  </ul>