I have the following

type Results map[string]*[]interface{}

var users *[]models.User
users = getUsers(...)

results := Results{}
results["users"] = users
users*[]models.User

I am having a hard time figuring out the right way to do this. Id like to do the following, but it obviously does not work.

var userResults *[]models.User
userResults = (*results["users").(*[]models.User)

Any idea on how to do this?