I was trying to create a slice of maps the following way.
keyvalue := make(map[string]interface{})
keyvalueslice := make([]keyvalue, 1, 1)
I was trying to create it just like the way string slice is created, however I am getting an error saying keyvalue is not a type. I am creating this slice to append data to keyvalueslice variable later.
Can someone explain what is wrong?