For example, x interface{} is given. How it can be determined (maybe using reflection) if it is a composite type (struct or pointer to struct) or "simple" type like string, int, float, etc?
x interface{}
string
int
float
Aucun commentaire:
Enregistrer un commentaire