Convert Value type to Map in Golang?

Viewed 18024

I'm getting this return value from a function call in the "reflect" package:

< map[string]string Value >.

Wondering if I can access the actual map inside the return value and if so, how?

EDIT:

So this is where I'm making the call which returns the Value object. It returns [< map[string]string Value >] to which I grab the first object in that array. However, I'm not sure how to convert [< map[string]string Value >] into a regular map.

view_args := reflect.ValueOf(&controller_ref).MethodByName(action_name).Call(in)
2 Answers
Related