title: error while Unmarshalling json data using interface?
body: <p>I'm retrieving the data from database and using Jquery stringify the same data. Now I want to unmarshall that data. Data is as below:</p>
  
  <pre><code>values = [{"day":"Sunday","time_slug":1,"timing":"8:00 am - 9:00 am","count":"1"},
    {"day":"Sunday","time_slug":2,"timing":"10:00 am - 11:00 am","count":"1"}]
  </code></pre>
  
  <p>Code I'm using:</p>
  
  <pre><code>func SaveProviderSpot(c *gin.Context) {
   //values := c.PostForm("array")
   byt := []byte(values)
   var dat map[string]interface{}
   if err := json.Unmarshal(byt, &amp;dat); err != nil {
       panic(err)
    }
    fmt.Println(dat)
  }
  </code></pre>