I have a value assigned to a variable. How do I print the name of the variable instead of the value assigned to the variable? I know I can hard code the variable name into the Printf function, but I don't want to use that. I want to use formater if something like that works in Go.
example
user := "Jada"
fmt.Println(user)
The above will print the value assigned to the variable, which is "Jada".
Is there a way I can have it print the variable name, user, instead of the variable value?