本节通过示例来演示如何使用reflect.Type来打印任意值的类型和枚举它的方法://Printprintsthemethodsetofthevaluex.funcPrint(xinterface{}){v:=reflect.ValueOf(x)t:=v.Type()fmt.Printf("type%s"
Go语言使用reflect.Type显示一个类型的方法集
