在一个变量中返回多个地图

I am working on a XML parser and I have the following problem :

I have this function which gather some tags value, for example movie title and release date :

func whatever() map[string]interface{} {

}

And I would like it to return something of this form :

[map[title:Movie01] map[title:Movie02]]

Without changing the return type.

All I have for now is :

map[title:Movie01]

And obviously I cannot have duplicate "title" key in one single map.

Can you help me on this ? It's been bothering me for a couple of hours now.

For the record then, as I mentioned in the comments you could try returning a slice of maps such as

func whatever() []map[string]interface{} {
}

Though depending on your data you might find a better solution in defining an appropriate struct for your domain and returning that.