jeudi 7 mai 2020

JSON Unmarshal does not work with dynamic struct created by relect

I'm trying to parse JSON files by using dynamically created structs, but apparently I'm doing something wrong. Can somebody please tell we what am I doing wrong here:

https://play.golang.org/p/C2I4Pduduyg

Thanks in advance.





Aucun commentaire:

Enregistrer un commentaire