|
@@ -57,7 +57,7 @@ func IsValueFloat(v reflect.Value) bool {
|
|
}
|
|
}
|
|
|
|
|
|
func IsValueStructPointer(v reflect.Value) bool {
|
|
func IsValueStructPointer(v reflect.Value) bool {
|
|
- return v.Kind() == reflect.Pointer && v.Kind() == reflect.Struct
|
|
|
|
|
|
+ return v.Kind() == reflect.Pointer && v.Elem().Kind() == reflect.Struct
|
|
}
|
|
}
|
|
|
|
|
|
func IsValueStructOrStructPointer(v reflect.Value) bool {
|
|
func IsValueStructOrStructPointer(v reflect.Value) bool {
|