title: What is the best way to convert array of interface into array of map in golang?
body: <p>I've created a web server and this server is able to get POST request. However, when I send array of map[string]string in POST data, server receives it as array of interface{}. How can I convert it back to array of map[string]string?</p>
  
  <p>Example : Like when I send following example in POST request,</p>
  
  <pre><code>params : [{"name" : "shail", "age" : 24}]
  </code></pre>
  
  <p>I'm sending params as </p>
  
  <pre><code>[](map[string]string)
  </code></pre>
  
  <p>but when server receives this data, it treats params as </p>
  
  <pre><code>[]interface{}
  </code></pre>
  
  <p>.How do I assign params in a variable defined by </p>
  
  <pre><code>[](map[string]interface{})
  </code></pre>
  
  <p>?</p>