Lines Matching full:reflect
11 "reflect"
16 fmt.Println("type:", reflect.TypeOf(x))
26 v := reflect.ValueOf(x)
28 fmt.Println("kind is float64:", v.Kind() == reflect.Float64)
36 v := reflect.ValueOf(x)
38 fmt.Println("kind is uint8: ", v.Kind() == reflect.Uint8) // true.
47 v := reflect.ValueOf(x)
64 v := reflect.ValueOf(x)
72 v := reflect.ValueOf(x)
80 v := reflect.ValueOf(x)
90 p := reflect.ValueOf(&x) // Note: take the address of x.
112 s := reflect.ValueOf(&t).Elem()
130 fmt.Println("value:", reflect.ValueOf(x))