package main import ( "fmt" "reflect" ) func main() { var num float64 = 3.14 fmt.Println(reflect.TypeOf(num).Name()) fmt.Println(reflect.TypeOf(num)) fmt.Printf("%T \n", num) var a,b,c,d=1,"hello",true,2.1 fmt.Printf("%T %T %T %T \n",a,b,c,d) }