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