mercredi 20 janvier 2021

how do get a pointer to a type given a reflect.Type

I have a reflect.Type of type reflect.Struct, I want to get the reflect.Type of a Pointer to this struct. How do I go about doing this? ideally without allocating to create one.





Aucun commentaire:

Enregistrer un commentaire