jeudi 6 octobre 2016

How to convert a String value to the correct reflect.Kind in go?

Is there a generic helper method in go to convert a string to the correct value based on reflect.kind?

Or do I need to implement the switch over all kinds myself?





Aucun commentaire:

Enregistrer un commentaire