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?
Example : Like when I send following example in POST request,
params : [{"name" : "shail", "age" : 24}]
I'm sending params as
[](map[string]string)
but when server receives this data, it treats params as
[]interface{}
.How do I assign params in a variable defined by
[](map[string]interface{})
?