mercredi 30 septembre 2020

How can I get custom type with reflect?

The following data types are defined:

type Status int
type RealStatus Status

Is there a way to get from RealStatus type to Status type with reflection?





Aucun commentaire:

Enregistrer un commentaire