xxxxxxxxxx
// printType method prints the type of a value in golang
func printType() {
x := 12
fmt.Printf("%T", x) // output: int
}
xxxxxxxxxx
const your_variable string = "test"
fmt.Printf("%v, %T", your_variable, your_variable)
// output: test,string