jeudi 1 octobre 2015

How to get slice underlying value via reflect.Value

I read the reflect document and I'm a little confused about why it doesn't have a func (v Value) Slice() slice function, which to get the underlying value from a reflect.Value which holds a slice in.

Is there a convenient way to get the underlying slice from a reflect.Value ?





Aucun commentaire:

Enregistrer un commentaire