mardi 6 août 2019

Is it possible to print variable name in golang?

How can i get the variable name in golang?

example:

variableName := "variable value"
fmt.Println(DO SOMETHING WITH variableName)

expected output: variableName





Aucun commentaire:

Enregistrer un commentaire