lundi 15 août 2016

What's the Golang's equivalent of Ruby's "methods" method?

I'm playing with Golang and I want to know if there is a way that can list all the methods or properties I can use on a variable. In Ruby I can simply use some_variable.methods to get all the methods defined on some_variable. Is there a similar thing in Golang?





Aucun commentaire:

Enregistrer un commentaire